Commit 5a958794 authored by James Hawkins's avatar James Hawkins Committed by Alexandre Julliard

crypt32: Fix a failing test in Vista.

parent f5dd6d23
...@@ -2712,8 +2712,10 @@ static void test_msg_control(void) ...@@ -2712,8 +2712,10 @@ static void test_msg_control(void)
SetLastError(0xdeadbeef); SetLastError(0xdeadbeef);
ret = CryptMsgUpdate(msg, msgData, sizeof(msgData), TRUE); ret = CryptMsgUpdate(msg, msgData, sizeof(msgData), TRUE);
todo_wine todo_wine
ok(!ret && GetLastError() == NTE_BAD_HASH_STATE, ok(!ret &&
"Expected NTE_BAD_HASH_STATE, got %08x\n", GetLastError()); (GetLastError() == NTE_BAD_HASH_STATE ||
GetLastError() == CRYPT_E_MSG_ERROR), /* Vista */
"Expected NTE_BAD_HASH_STATE or CRYPT_E_MSG_ERROR, got %08x\n", GetLastError());
CryptMsgClose(msg); CryptMsgClose(msg);
/* Finally, verifying the hash of a detached message in the correct order: /* Finally, verifying the hash of a detached message in the correct order:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment