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

Alexandre Julliard julliard at wine.codeweavers.com
Fri Jul 13 08:30:31 CDT 2007


Module: wine
Branch: master
Commit: 9bdb084eb6945d349fcde825629c7a67ea18b9af
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=9bdb084eb6945d349fcde825629c7a67ea18b9af

Author: Juan Lang <juan.lang at gmail.com>
Date:   Thu Jul 12 15:00:04 2007 -0700

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

---

 dlls/crypt32/tests/msg.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/dlls/crypt32/tests/msg.c b/dlls/crypt32/tests/msg.c
index 5831d7b..688ae83 100644
--- a/dlls/crypt32/tests/msg.c
+++ b/dlls/crypt32/tests/msg.c
@@ -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,




More information about the wine-cvs mailing list