summaryrefslogtreecommitdiffstats
path: root/crypto/signature_verifier_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/signature_verifier_unittest.cc')
-rw-r--r--crypto/signature_verifier_unittest.cc9
1 files changed, 0 insertions, 9 deletions
diff --git a/crypto/signature_verifier_unittest.cc b/crypto/signature_verifier_unittest.cc
index 0294379..360afa9 100644
--- a/crypto/signature_verifier_unittest.cc
+++ b/crypto/signature_verifier_unittest.cc
@@ -238,14 +238,7 @@ TEST(SignatureVerifierTest, BasicTest) {
EXPECT_TRUE(ok);
verifier.VerifyUpdate(bad_tbs_certificate, sizeof(bad_tbs_certificate));
ok = verifier.VerifyFinal();
-
- // Purify disables digital signature verification, causing the Windows
- // CryptoAPI function CryptVerifySignature to always succeed. So we can't
- // check the signature verification results of the negative tests when
- // running inside Purify. See http://crbug.com/10031.
-#ifndef PURIFY
EXPECT_FALSE(ok);
-#endif
// Test 4: verify a bad signature.
uint8 bad_signature[sizeof(signature)];
@@ -261,8 +254,6 @@ TEST(SignatureVerifierTest, BasicTest) {
if (ok) {
verifier.VerifyUpdate(tbs_certificate, sizeof(tbs_certificate));
ok = verifier.VerifyFinal();
-#ifndef PURIFY
EXPECT_FALSE(ok);
-#endif
}
}