crypt32: Relax a test, the specific error isn't so important.

This commit is contained in:
Juan Lang 2007-07-12 15:00:04 -07:00 committed by Alexandre Julliard
parent 8599fd7748
commit 9bdb084eb6
1 changed files with 1 additions and 3 deletions

View File

@ -795,9 +795,7 @@ static void test_hash_msg_get_param(void)
ok(value == 0, "Expected version 0, got %d\n", value);
/* As usual, the type isn't available. */
ret = CryptMsgGetParam(msg, CMSG_TYPE_PARAM, 0, NULL, &size);
todo_wine
ok(!ret && GetLastError() == CRYPT_E_INVALID_MSG_TYPE,
"Expected CRYPT_E_INVALID_MSG_TYPE, got %x\n", GetLastError());
ok(!ret, "Expected failure\n");
CryptMsgClose(msg);
msg = CryptMsgOpenToEncode(PKCS_7_ASN_ENCODING, 0, CMSG_HASHED, &hashInfo,