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
6cfce78c
Commit
6cfce78c
authored
Aug 31, 2009
by
Francois Gouget
Committed by
Alexandre Julliard
Aug 31, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wintrust/tests: Fix compilation on systems that don't support nameless unions.
parent
3c80cf52
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
asn.c
dlls/wintrust/tests/asn.c
+3
-3
No files found.
dlls/wintrust/tests/asn.c
View file @
6cfce78c
...
...
@@ -842,7 +842,7 @@ static void test_encodeSpOpusInfo(void)
ok
(
!
ret
&&
GetLastError
()
==
E_INVALIDARG
,
"expected E_INVALIDARG, got %08x
\n
"
,
GetLastError
());
moreInfo
.
dwLinkChoice
=
SPC_URL_LINK_CHOICE
;
moreInfo
.
pwszUrl
=
winehq
;
U
(
moreInfo
)
.
pwszUrl
=
winehq
;
ret
=
pCryptEncodeObjectEx
(
X509_ASN_ENCODING
,
SPC_SP_OPUS_INFO_STRUCT
,
&
info
,
CRYPT_ENCODE_ALLOC_FLAG
,
NULL
,
&
buf
,
&
size
);
ok
(
ret
,
"CryptEncodeObjectEx failed: %08x
\n
"
,
GetLastError
());
...
...
@@ -910,7 +910,7 @@ static void test_decodeSpOpusInfo(void)
{
ok
(
info
->
pMoreInfo
->
dwLinkChoice
==
SPC_URL_LINK_CHOICE
,
"unexpected link choice %d
\n
"
,
info
->
pMoreInfo
->
dwLinkChoice
);
ok
(
!
lstrcmpW
(
info
->
pMoreInfo
->
pwszUrl
,
winehq
),
ok
(
!
lstrcmpW
(
U
(
*
info
->
pMoreInfo
).
pwszUrl
,
winehq
),
"unexpected link value
\n
"
);
}
ok
(
!
info
->
pPublisherInfo
,
"expected NULL
\n
"
);
...
...
@@ -931,7 +931,7 @@ static void test_decodeSpOpusInfo(void)
ok
(
info
->
pPublisherInfo
->
dwLinkChoice
==
SPC_URL_LINK_CHOICE
,
"unexpected link choice %d
\n
"
,
info
->
pPublisherInfo
->
dwLinkChoice
);
ok
(
!
lstrcmpW
(
info
->
pPublisherInfo
->
pwszUrl
,
winehq
),
ok
(
!
lstrcmpW
(
U
(
*
info
->
pPublisherInfo
).
pwszUrl
,
winehq
),
"unexpected link value
\n
"
);
}
LocalFree
(
info
);
...
...
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