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
fd77bc5f
Commit
fd77bc5f
authored
Mar 12, 2009
by
Paul Vriens
Committed by
Alexandre Julliard
Mar 12, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
crypt32/tests: Fix a test failure on Win9x.
parent
d5e9c3cf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
msg.c
dlls/crypt32/tests/msg.c
+4
-2
No files found.
dlls/crypt32/tests/msg.c
View file @
fd77bc5f
...
@@ -2977,12 +2977,14 @@ static void test_msg_control(void)
...
@@ -2977,12 +2977,14 @@ static void test_msg_control(void)
"expected NTE_BAD_SIGNATURE or OSS_DATA_ERROR, got %08x
\n
"
,
"expected NTE_BAD_SIGNATURE or OSS_DATA_ERROR, got %08x
\n
"
,
GetLastError
());
GetLastError
());
/* Now that the signature's been checked, can't do the final update */
/* Now that the signature's been checked, can't do the final update */
SetLastError
(
0xdeadbeef
);
ret
=
CryptMsgUpdate
(
msg
,
msgData
,
sizeof
(
msgData
),
TRUE
);
ret
=
CryptMsgUpdate
(
msg
,
msgData
,
sizeof
(
msgData
),
TRUE
);
todo_wine
todo_wine
ok
(
!
ret
&&
ok
(
(
!
ret
&&
(
GetLastError
()
==
NTE_BAD_HASH_STATE
||
(
GetLastError
()
==
NTE_BAD_HASH_STATE
||
GetLastError
()
==
NTE_BAD_ALGID
||
/* Win9x */
GetLastError
()
==
NTE_BAD_ALGID
||
/* Win9x */
GetLastError
()
==
CRYPT_E_MSG_ERROR
),
/* Vista */
GetLastError
()
==
CRYPT_E_MSG_ERROR
))
||
/* Vista */
broken
(
ret
),
/* Win9x */
"expected NTE_BAD_HASH_STATE or NTE_BAD_ALGID or CRYPT_E_MSG_ERROR, "
"expected NTE_BAD_HASH_STATE or NTE_BAD_ALGID or CRYPT_E_MSG_ERROR, "
"got %08x
\n
"
,
GetLastError
());
"got %08x
\n
"
,
GetLastError
());
CryptMsgClose
(
msg
);
CryptMsgClose
(
msg
);
...
...
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