Dmitry Timoshkov : crypt32/tests: Get rid of win9x specific checks.
Alexandre Julliard
julliard at winehq.org
Thu Oct 25 15:24:35 CDT 2018
Module: wine
Branch: master
Commit: 4422a96a23b68feebd08b4e835f9a80a982ff931
URL: https://source.winehq.org/git/wine.git/?a=commit;h=4422a96a23b68feebd08b4e835f9a80a982ff931
Author: Dmitry Timoshkov <dmitry at baikal.ru>
Date: Thu Oct 25 14:50:21 2018 +0300
crypt32/tests: Get rid of win9x specific checks.
Signed-off-by: Dmitry Timoshkov <dmitry at baikal.ru>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/crypt32/tests/cert.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/dlls/crypt32/tests/cert.c b/dlls/crypt32/tests/cert.c
index bb0cc52..d6c249c 100644
--- a/dlls/crypt32/tests/cert.c
+++ b/dlls/crypt32/tests/cert.c
@@ -3232,15 +3232,11 @@ static void testComparePublicKeyInfo(void)
ret = CertComparePublicKeyInfo(0, &info1, &info2);
ok(!ret, "CertComparePublicKeyInfo: as raw binary: keys should be unequal\n");
ret = CertComparePublicKeyInfo(X509_ASN_ENCODING, &info1, &info2);
- ok(ret ||
- broken(!ret), /* win9x */
- "CertComparePublicKeyInfo: as ASN.1 encoded: keys should be equal\n");
+ ok(ret, "CertComparePublicKeyInfo: as ASN.1 encoded: keys should be equal\n");
info1.PublicKey.cUnusedBits = 1;
info2.PublicKey.cUnusedBits = 5;
ret = CertComparePublicKeyInfo(X509_ASN_ENCODING, &info1, &info2);
- ok(ret ||
- broken(!ret), /* win9x */
- "CertComparePublicKeyInfo: ASN.1 encoding should ignore cUnusedBits\n");
+ ok(ret, "CertComparePublicKeyInfo: ASN.1 encoding should ignore cUnusedBits\n");
info1.PublicKey.cUnusedBits = 0;
info2.PublicKey.cUnusedBits = 0;
info1.PublicKey.cbData--; /* kill one byte, make ASN.1 encoded data invalid */
More information about the wine-cvs
mailing list