[PATCH 2/2] crypt32/tests: Remove unneeded SetLastError.

Alexander Morozov amorozov at etersoft.ru
Thu Nov 25 09:06:44 CST 2010


-------------- next part --------------
From bf572d5b761d179125b70028e9642019cf673e70 Mon Sep 17 00:00:00 2001
From: Alexander Morozov <amorozov at etersoft.ru>
Date: Thu, 25 Nov 2010 01:08:29 +0300
Subject: [PATCH 2/2] crypt32/tests: Remove unneeded SetLastError.

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

diff --git a/dlls/crypt32/tests/msg.c b/dlls/crypt32/tests/msg.c
index 60def22..d8b1b94 100644
--- a/dlls/crypt32/tests/msg.c
+++ b/dlls/crypt32/tests/msg.c
@@ -2078,7 +2078,6 @@ static void test_enveloped_msg_open(void)
          "expected E_INVALIDARG, got %08x\n", GetLastError());
     }
 
-    SetLastError(0xdeadbeef);
     context = CertCreateCertificateContext(X509_ASN_ENCODING,
      v1CertWithValidPubKey, sizeof(v1CertWithValidPubKey));
     if (context)
-- 
1.7.3.2



More information about the wine-patches mailing list