Index: net/cert/internal/signature_policy.cc |
diff --git a/net/cert/internal/signature_policy.cc b/net/cert/internal/signature_policy.cc |
index 69f22f78a9945743b584558ff334ce41bb54c535..c00212ac9410888887f8e383cbbf7ef7dc9a6abc 100644 |
--- a/net/cert/internal/signature_policy.cc |
+++ b/net/cert/internal/signature_policy.cc |
@@ -6,9 +6,7 @@ |
#include "base/logging.h" |
-#if defined(USE_OPENSSL) |
#include <openssl/obj.h> |
-#endif |
namespace net { |
@@ -18,14 +16,12 @@ bool SignaturePolicy::IsAcceptableSignatureAlgorithm( |
} |
bool SignaturePolicy::IsAcceptableCurveForEcdsa(int curve_nid) const { |
-#if defined(USE_OPENSSL) |
switch (curve_nid) { |
case NID_X9_62_prime256v1: |
case NID_secp384r1: |
case NID_secp521r1: |
return true; |
} |
-#endif |
return false; |
} |