Gerald Pfeifer : crypt32: Fix incorrect logic condition in test_decodePKCSAttribute().
Alexandre Julliard
julliard at winehq.org
Fri Jun 19 08:27:12 CDT 2009
Module: wine
Branch: master
Commit: afbeea25c1dacb2c2ab483f6ccad1e7081881beb
URL: http://source.winehq.org/git/wine.git/?a=commit;h=afbeea25c1dacb2c2ab483f6ccad1e7081881beb
Author: Gerald Pfeifer <gerald at pfeifer.com>
Date: Thu Jun 18 19:26:39 2009 +0200
crypt32: Fix incorrect logic condition in test_decodePKCSAttribute().
---
dlls/crypt32/tests/encode.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/dlls/crypt32/tests/encode.c b/dlls/crypt32/tests/encode.c
index e406194..3e99800 100644
--- a/dlls/crypt32/tests/encode.c
+++ b/dlls/crypt32/tests/encode.c
@@ -5843,7 +5843,8 @@ static void test_decodePKCSAttribute(DWORD dwEncoding)
* I doubt an app depends on that.
*/
ok(!ret && (GetLastError() == CRYPT_E_ASN1_EOD ||
- GetLastError() == CRYPT_E_ASN1_CORRUPT || OSS_MORE_INPUT /* Win9x */),
+ GetLastError() == CRYPT_E_ASN1_CORRUPT ||
+ GetLastError() == OSS_MORE_INPUT /* Win9x */),
"Expected CRYPT_E_ASN1_EOD, CRYPT_E_ASN1_CORRUPT, or OSS_MORE_INPUT, got %x\n",
GetLastError());
ret = pCryptDecodeObjectEx(dwEncoding, PKCS_ATTRIBUTE,
More information about the wine-cvs
mailing list