Juan Lang : crypt32: Fix a test failure on Windows 98.
Alexandre Julliard
julliard at winehq.org
Fri Apr 24 10:00:08 CDT 2009
Module: wine
Branch: master
Commit: 9b56e5013ef866dd0149bf08540ddda24a3115c6
URL: http://source.winehq.org/git/wine.git/?a=commit;h=9b56e5013ef866dd0149bf08540ddda24a3115c6
Author: Juan Lang <juan.lang at gmail.com>
Date: Thu Apr 23 09:41:43 2009 -0700
crypt32: Fix a test failure on Windows 98.
---
dlls/crypt32/tests/msg.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/crypt32/tests/msg.c b/dlls/crypt32/tests/msg.c
index 66b09f3..8ab5625 100644
--- a/dlls/crypt32/tests/msg.c
+++ b/dlls/crypt32/tests/msg.c
@@ -3153,8 +3153,8 @@ static void test_msg_get_and_verify_signer(void)
ret = CertAddEncodedCertificateToStore(store, X509_ASN_ENCODING,
v1CertWithValidPubKey, sizeof(v1CertWithValidPubKey),
CERT_STORE_ADD_ALWAYS, NULL);
- ok(ret, "CertAddEncodedCertificateToStore failed: 0x%08x\n",
- GetLastError());
+ ok(ret || broken(GetLastError() == OSS_DATA_ERROR /* Win98 */),
+ "CertAddEncodedCertificateToStore failed: 0x%08x\n", GetLastError());
/* Specifying CMSG_TRUSTED_SIGNER_FLAG with a cert store that contains
* the signer succeeds.
*/
More information about the wine-cvs
mailing list