crypt32: Fix a test failure on Windows 98.
This commit is contained in:
parent
2fe86fb7cd
commit
9b56e5013e
|
@ -3153,8 +3153,8 @@ static void test_msg_get_and_verify_signer(void)
|
||||||
ret = CertAddEncodedCertificateToStore(store, X509_ASN_ENCODING,
|
ret = CertAddEncodedCertificateToStore(store, X509_ASN_ENCODING,
|
||||||
v1CertWithValidPubKey, sizeof(v1CertWithValidPubKey),
|
v1CertWithValidPubKey, sizeof(v1CertWithValidPubKey),
|
||||||
CERT_STORE_ADD_ALWAYS, NULL);
|
CERT_STORE_ADD_ALWAYS, NULL);
|
||||||
ok(ret, "CertAddEncodedCertificateToStore failed: 0x%08x\n",
|
ok(ret || broken(GetLastError() == OSS_DATA_ERROR /* Win98 */),
|
||||||
GetLastError());
|
"CertAddEncodedCertificateToStore failed: 0x%08x\n", GetLastError());
|
||||||
/* Specifying CMSG_TRUSTED_SIGNER_FLAG with a cert store that contains
|
/* Specifying CMSG_TRUSTED_SIGNER_FLAG with a cert store that contains
|
||||||
* the signer succeeds.
|
* the signer succeeds.
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue