crypt32(22/25): Relax a test, the specific error isn't so important

Juan Lang juan.lang at gmail.com
Thu Jul 12 17:25:16 CDT 2007


--Juan
-------------- next part --------------
From d350ca41467dfc01ce87c998c3c5311f6afa8b3f Mon Sep 17 00:00:00 2001
From: Juan Lang <juanlang at juan.corp.google.com>
Date: Thu, 12 Jul 2007 15:00:04 -0700
Subject: [PATCH] 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,
-- 
1.4.1


More information about the wine-patches mailing list