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
fff29663
Commit
fff29663
authored
Aug 28, 2008
by
James Hawkins
Committed by
Alexandre Julliard
Aug 29, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
crypt32: Fix a failing test in Vista.
parent
f9b0620f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
message.c
dlls/crypt32/tests/message.c
+5
-3
No files found.
dlls/crypt32/tests/message.c
View file @
fff29663
...
...
@@ -414,9 +414,11 @@ static void test_hash_message(void)
SetLastError
(
0xdeadbeef
);
ret
=
CryptHashMessage
(
&
para
,
FALSE
,
2
,
toHash
,
hashSize
,
NULL
,
&
hashedBlobSize
,
NULL
,
NULL
);
ok
(
!
ret
&&
GetLastError
()
==
CRYPT_E_UNKNOWN_ALGO
,
"expected CRYPT_E_UNKNOWN_ALGO, got 0x%08x (%d)
\n
"
,
GetLastError
(),
GetLastError
());
ok
(
!
ret
&&
(
GetLastError
()
==
CRYPT_E_UNKNOWN_ALGO
||
GetLastError
()
==
CRYPT_E_OID_FORMAT
),
/* Vista */
"expected CRYPT_E_UNKNOWN_ALGO or CRYPT_E_OID_FORMAT, got 0x%08x (%d)
\n
"
,
GetLastError
(),
GetLastError
());
para
.
HashAlgorithm
.
pszObjId
=
oid_rsa_md5
;
/* With a valid hash algorithm, this succeeds, even though fDetached is
* 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