Juan Lang : cryptnet: Fix typo.

Alexandre Julliard julliard at winehq.org
Mon Mar 14 14:29:32 CDT 2011


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

Author: Juan Lang <juan.lang at gmail.com>
Date:   Fri Mar 11 08:28:51 2011 -0800

cryptnet: Fix typo.

Spotted by Joris Huizer.

---

 dlls/cryptnet/tests/cryptnet.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/cryptnet/tests/cryptnet.c b/dlls/cryptnet/tests/cryptnet.c
index ba6298d..663ba45 100644
--- a/dlls/cryptnet/tests/cryptnet.c
+++ b/dlls/cryptnet/tests/cryptnet.c
@@ -367,7 +367,7 @@ static void test_retrieveObjectByUrl(void)
      NULL, NULL, NULL, NULL);
     /* w2k3,XP, newer w2k: CRYPT_E_NO_MATCH, older w2k: CRYPT_E_ASN1_BADTAG */
     ok(!ret && (GetLastError() == CRYPT_E_NO_MATCH ||
-                broken(GetLastError() == CRYPT_E_NO_MATCH)),
+                broken(GetLastError() == CRYPT_E_ASN1_BADTAG)),
         "got 0x%x/%u (expected CRYPT_E_NO_MATCH)\n", GetLastError(), GetLastError());
 
     /* only newer versions of cryptnet do the cleanup */




More information about the wine-cvs mailing list