[PATCH 1/4] crypt32/tests: Get rid of win9x specific checks.
Dmitry Timoshkov
dmitry at baikal.ru
Thu Oct 25 06:50:21 CDT 2018
Signed-off-by: Dmitry Timoshkov <dmitry at baikal.ru>
---
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 bb0cc525e7..d6c249c6f3 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 */
--
2.17.1
More information about the wine-devel
mailing list