Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
ed9a4ffa
Commit
ed9a4ffa
authored
Nov 06, 2009
by
Juan Lang
Committed by
Alexandre Julliard
Nov 09, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
crypt32: Fix decoding cert issuer/subject unique ids.
parent
4ccafdcb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
decode.c
dlls/crypt32/decode.c
+2
-2
encode.c
dlls/crypt32/tests/encode.c
+0
-1
No files found.
dlls/crypt32/decode.c
View file @
ed9a4ffa
...
...
@@ -1002,10 +1002,10 @@ static BOOL CRYPT_AsnDecodeCertInfo(DWORD dwCertEncodingType,
CRYPT_AsnDecodePubKeyInfoInternal
,
sizeof
(
CERT_PUBLIC_KEY_INFO
),
FALSE
,
TRUE
,
offsetof
(
CERT_INFO
,
SubjectPublicKeyInfo
.
Algorithm
.
Parameters
.
pbData
),
0
},
{
ASN_
BITSTRING
,
offsetof
(
CERT_INFO
,
IssuerUniqueId
),
{
ASN_
CONTEXT
|
1
,
offsetof
(
CERT_INFO
,
IssuerUniqueId
),
CRYPT_AsnDecodeBitsInternal
,
sizeof
(
CRYPT_BIT_BLOB
),
TRUE
,
TRUE
,
offsetof
(
CERT_INFO
,
IssuerUniqueId
.
pbData
),
0
},
{
ASN_
BITSTRING
,
offsetof
(
CERT_INFO
,
SubjectUniqueId
),
{
ASN_
CONTEXT
|
2
,
offsetof
(
CERT_INFO
,
SubjectUniqueId
),
CRYPT_AsnDecodeBitsInternal
,
sizeof
(
CRYPT_BIT_BLOB
),
TRUE
,
TRUE
,
offsetof
(
CERT_INFO
,
SubjectUniqueId
.
pbData
),
0
},
{
ASN_CONTEXT
|
ASN_CONSTRUCTOR
|
3
,
offsetof
(
CERT_INFO
,
cExtension
),
...
...
dlls/crypt32/tests/encode.c
View file @
ed9a4ffa
...
...
@@ -3119,7 +3119,6 @@ static void test_decodeCertToBeSigned(DWORD dwEncoding)
v1CertWithSubjectIssuerSerialAndIssuerUniqueId
,
sizeof
(
v1CertWithSubjectIssuerSerialAndIssuerUniqueId
),
CRYPT_DECODE_ALLOC_FLAG
,
NULL
,
&
buf
,
&
size
);
todo_wine
ok
(
ret
,
"CryptDecodeObjectEx failed: %08x
\n
"
,
GetLastError
());
if
(
ret
)
{
...
...
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