Index: net/cert/cert_verify_proc.cc |
diff --git a/net/cert/cert_verify_proc.cc b/net/cert/cert_verify_proc.cc |
index d1fef9987f209cb1c3124b473a4c53eaff3c7eb5..1e3fc890ef3dd1ec4d7c8c3b9b64ec82fbbd6bba 100644 |
--- a/net/cert/cert_verify_proc.cc |
+++ b/net/cert/cert_verify_proc.cc |
@@ -23,7 +23,7 @@ |
#include "net/cert/x509_certificate.h" |
#include "url/url_canon.h" |
-#if defined(USE_NSS) || defined(OS_IOS) |
+#if defined(USE_NSS_CERTS) || defined(OS_IOS) |
#include "net/cert/cert_verify_proc_nss.h" |
#elif defined(USE_OPENSSL_CERTS) && !defined(OS_ANDROID) |
#include "net/cert/cert_verify_proc_openssl.h" |
@@ -169,7 +169,7 @@ bool ExaminePublicKeys(const scoped_refptr<X509Certificate>& cert, |
// static |
CertVerifyProc* CertVerifyProc::CreateDefault() { |
-#if defined(USE_NSS) || defined(OS_IOS) |
+#if defined(USE_NSS_CERTS) || defined(OS_IOS) |
return new CertVerifyProcNSS(); |
#elif defined(USE_OPENSSL_CERTS) && !defined(OS_ANDROID) |
return new CertVerifyProcOpenSSL(); |