crypt32: Fix a failing test in Vista.
This commit is contained in:
parent
1779c64ba0
commit
a4d375c9f0
|
@ -2856,8 +2856,10 @@ static void test_msg_control(void)
|
|||
/* Now that the signature's been checked, can't do the final update */
|
||||
ret = CryptMsgUpdate(msg, msgData, sizeof(msgData), TRUE);
|
||||
todo_wine
|
||||
ok(!ret && GetLastError() == NTE_BAD_HASH_STATE,
|
||||
"expected NTE_BAD_HASH_STATE, got %08x\n", GetLastError());
|
||||
ok(!ret &&
|
||||
(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);
|
||||
/* Updating with the detached portion of the message and the data of the
|
||||
* the message allows the sig to be verified.
|
||||
|
|
Loading…
Reference in New Issue