Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
b8ab4621
Commit
b8ab4621
authored
Jul 25, 2007
by
Juan Lang
Committed by
Alexandre Julliard
Jul 26, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
crypt32: Trace a few more items when decoding.
parent
c58cb379
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
decode.c
dlls/crypt32/decode.c
+6
-2
No files found.
dlls/crypt32/decode.c
View file @
b8ab4621
...
...
@@ -366,6 +366,8 @@ static BOOL CRYPT_AsnDecodeSequenceItems(DWORD dwCertEncodingType,
items
[
i
].
size
%
sizeof
(
DWORD
);
ptr
+=
1
+
nextItemLenBytes
+
nextItemLen
;
decoded
+=
1
+
nextItemLenBytes
+
nextItemLen
;
TRACE
(
"item %d: decoded %d bytes
\n
"
,
i
,
1
+
nextItemLenBytes
+
nextItemLen
);
}
else
if
(
items
[
i
].
optional
&&
GetLastError
()
==
CRYPT_E_ASN1_BADTAG
)
...
...
@@ -381,6 +383,8 @@ static BOOL CRYPT_AsnDecodeSequenceItems(DWORD dwCertEncodingType,
}
else
{
TRACE
(
"item %d: decoded %d bytes
\n
"
,
i
,
1
+
nextItemLenBytes
+
nextItemLen
);
ptr
+=
1
+
nextItemLenBytes
+
nextItemLen
;
decoded
+=
1
+
nextItemLenBytes
+
nextItemLen
;
items
[
i
].
size
=
items
[
i
].
minSize
;
...
...
@@ -393,8 +397,8 @@ static BOOL CRYPT_AsnDecodeSequenceItems(DWORD dwCertEncodingType,
}
else
{
TRACE
(
"tag %02x doesn't match expected %02x
\n
"
,
ptr
[
0
],
items
[
i
].
tag
);
TRACE
(
"
item %d:
tag %02x doesn't match expected %02x
\n
"
,
i
,
ptr
[
0
],
items
[
i
].
tag
);
SetLastError
(
CRYPT_E_ASN1_BADTAG
);
ret
=
FALSE
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment