Index: net/cert/internal/verify_signed_data_unittest.cc |
diff --git a/net/cert/internal/verify_signed_data_unittest.cc b/net/cert/internal/verify_signed_data_unittest.cc |
index 50586a1a5fd8da92ea7fbd09896df3bcab3e78cc..ba0fab2c21541fb634b7e649e381a03953371bb2 100644 |
--- a/net/cert/internal/verify_signed_data_unittest.cc |
+++ b/net/cert/internal/verify_signed_data_unittest.cc |
@@ -15,9 +15,7 @@ |
#include "net/der/parser.h" |
#include "testing/gtest/include/gtest/gtest.h" |
-#if defined(USE_OPENSSL) |
#include <openssl/obj.h> |
-#endif |
namespace net { |
@@ -39,11 +37,6 @@ enum VerifyResult { |
void RunTestCaseUsingPolicy(VerifyResult expected_result, |
const char* file_name, |
const SignaturePolicy* policy) { |
-#if !defined(USE_OPENSSL) |
- LOG(INFO) << "Skipping test, only implemented for BoringSSL"; |
- return; |
-#endif |
- |
std::string path = |
std::string("net/data/verify_signed_data_unittest/") + file_name; |
@@ -223,10 +216,8 @@ TEST(VerifySignedDataTest, EcdsaPrime256v1Sha512UnusedBitsSignature) { |
class RejectSecp384r1Policy : public SignaturePolicy { |
public: |
bool IsAcceptableCurveForEcdsa(int curve_nid) const override { |
-#if defined(USE_OPENSSL) |
if (curve_nid == NID_secp384r1) |
return false; |
-#endif |
return true; |
} |
}; |