Index: net/cert/cert_verify_proc.cc |
diff --git a/net/cert/cert_verify_proc.cc b/net/cert/cert_verify_proc.cc |
index 1c9dede7d85c5aa2b3c5e53b420003f2e5b15456..eba84e6495fafb563dacbe9e95966ad74c3537d1 100644 |
--- a/net/cert/cert_verify_proc.cc |
+++ b/net/cert/cert_verify_proc.cc |
@@ -26,7 +26,7 @@ |
#include "net/cert/x509_certificate.h" |
#include "url/url_canon.h" |
-#if defined(USE_NSS_CERTS) || defined(OS_IOS) |
+#if defined(USE_NSS_VERIFIER) |
#include "net/cert/cert_verify_proc_nss.h" |
#elif defined(USE_OPENSSL_CERTS) && !defined(OS_ANDROID) |
#include "net/cert/cert_verify_proc_openssl.h" |
@@ -203,7 +203,7 @@ struct HashToArrayComparator { |
// static |
CertVerifyProc* CertVerifyProc::CreateDefault() { |
-#if defined(USE_NSS_CERTS) || defined(OS_IOS) |
+#if defined(USE_NSS_VERIFIER) |
return new CertVerifyProcNSS(); |
#elif defined(USE_OPENSSL_CERTS) && !defined(OS_ANDROID) |
return new CertVerifyProcOpenSSL(); |