From 9b56e5013ef866dd0149bf08540ddda24a3115c6 Mon Sep 17 00:00:00 2001 From: Juan Lang Date: Thu, 23 Apr 2009 09:41:43 -0700 Subject: [PATCH] crypt32: Fix a test failure on Windows 98. --- dlls/crypt32/tests/msg.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/crypt32/tests/msg.c b/dlls/crypt32/tests/msg.c index 66b09f31a0e..8ab5625fd8e 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. */