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
fe40b2d8
Commit
fe40b2d8
authored
Jun 17, 2007
by
Francois Gouget
Committed by
Alexandre Julliard
Jun 18, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
crypt32/tests: Fix compilation on systems that don't support nameless unions.
parent
19ef8640
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
encode.c
dlls/crypt32/tests/encode.c
+2
-2
No files found.
dlls/crypt32/tests/encode.c
View file @
fe40b2d8
...
@@ -4410,7 +4410,7 @@ static void test_encodeAuthorityKeyId2(DWORD dwEncoding)
...
@@ -4410,7 +4410,7 @@ static void test_encodeAuthorityKeyId2(DWORD dwEncoding)
"Expected E_INVALIDARG, got %08x
\n
"
,
GetLastError
());
"Expected E_INVALIDARG, got %08x
\n
"
,
GetLastError
());
/* With an issuer name */
/* With an issuer name */
entry
.
dwAltNameChoice
=
CERT_ALT_NAME_URL
;
entry
.
dwAltNameChoice
=
CERT_ALT_NAME_URL
;
entry
.
pwszURL
=
(
LPWSTR
)
url
;
U
(
entry
)
.
pwszURL
=
(
LPWSTR
)
url
;
ret
=
CryptEncodeObjectEx
(
dwEncoding
,
X509_AUTHORITY_KEY_ID2
,
&
info
,
ret
=
CryptEncodeObjectEx
(
dwEncoding
,
X509_AUTHORITY_KEY_ID2
,
&
info
,
CRYPT_ENCODE_ALLOC_FLAG
,
NULL
,
(
BYTE
*
)
&
buf
,
&
size
);
CRYPT_ENCODE_ALLOC_FLAG
,
NULL
,
(
BYTE
*
)
&
buf
,
&
size
);
ok
(
ret
,
"CryptEncodeObjectEx failed: %08x
\n
"
,
GetLastError
());
ok
(
ret
,
"CryptEncodeObjectEx failed: %08x
\n
"
,
GetLastError
());
...
@@ -4497,7 +4497,7 @@ static void test_decodeAuthorityKeyId2(DWORD dwEncoding)
...
@@ -4497,7 +4497,7 @@ static void test_decodeAuthorityKeyId2(DWORD dwEncoding)
ok
(
info
->
AuthorityCertIssuer
.
rgAltEntry
[
0
].
dwAltNameChoice
==
ok
(
info
->
AuthorityCertIssuer
.
rgAltEntry
[
0
].
dwAltNameChoice
==
CERT_ALT_NAME_URL
,
"Expected CERT_ALT_NAME_URL, got %d
\n
"
,
CERT_ALT_NAME_URL
,
"Expected CERT_ALT_NAME_URL, got %d
\n
"
,
info
->
AuthorityCertIssuer
.
rgAltEntry
[
0
].
dwAltNameChoice
);
info
->
AuthorityCertIssuer
.
rgAltEntry
[
0
].
dwAltNameChoice
);
ok
(
!
lstrcmpW
(
info
->
AuthorityCertIssuer
.
rgAltEntry
[
0
]
.
pwszURL
,
ok
(
!
lstrcmpW
(
U
(
info
->
AuthorityCertIssuer
.
rgAltEntry
[
0
])
.
pwszURL
,
url
),
"Unexpected URL
\n
"
);
url
),
"Unexpected URL
\n
"
);
ok
(
info
->
AuthorityCertSerialNumber
.
cbData
==
0
,
ok
(
info
->
AuthorityCertSerialNumber
.
cbData
==
0
,
"Expected no serial number
\n
"
);
"Expected no serial number
\n
"
);
...
...
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