Index: net/cert/cert_verify_proc.cc |
diff --git a/net/cert/cert_verify_proc.cc b/net/cert/cert_verify_proc.cc |
index a2a8a9e61a2fba42c2bb5fc42b76cd6d6d1349e8..13f037555bc89fb9fde20ec0db4c134790d5925f 100644 |
--- a/net/cert/cert_verify_proc.cc |
+++ b/net/cert/cert_verify_proc.cc |
@@ -33,8 +33,6 @@ |
#if defined(USE_NSS_CERTS) |
#include "net/cert/cert_verify_proc_nss.h" |
-#elif defined(USE_OPENSSL_CERTS) && !defined(OS_ANDROID) |
-#include "net/cert/cert_verify_proc_openssl.h" |
#elif defined(OS_ANDROID) |
#include "net/cert/cert_verify_proc_android.h" |
#elif defined(OS_IOS) |
@@ -504,8 +502,6 @@ WARN_UNUSED_RESULT bool InspectSignatureAlgorithmsInChain( |
CertVerifyProc* CertVerifyProc::CreateDefault() { |
#if defined(USE_NSS_CERTS) |
return new CertVerifyProcNSS(); |
-#elif defined(USE_OPENSSL_CERTS) && !defined(OS_ANDROID) |
- return new CertVerifyProcOpenSSL(); |
#elif defined(OS_ANDROID) |
return new CertVerifyProcAndroid(); |
#elif defined(OS_IOS) |
@@ -515,7 +511,7 @@ CertVerifyProc* CertVerifyProc::CreateDefault() { |
#elif defined(OS_WIN) |
return new CertVerifyProcWin(); |
#else |
- return NULL; |
+#error Unsupported platform |
davidben
2017/05/03 18:54:48
No caller survives this being NULL. Better to have
|
#endif |
} |