Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(256)

Unified Diff: net/base/cert_verify_proc.cc

Issue 10983023: Port certificate verification to iOS. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Review comments Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | net/base/cert_verify_proc_nss.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/cert_verify_proc.cc
diff --git a/net/base/cert_verify_proc.cc b/net/base/cert_verify_proc.cc
index 3ba21b9ef5c02c96e975ca7dac3dc60bb00f42eb..1e408bed189b5866a04bc883b50e3cf4b9a6cf2f 100644
--- a/net/base/cert_verify_proc.cc
+++ b/net/base/cert_verify_proc.cc
@@ -14,7 +14,7 @@
#include "net/base/net_errors.h"
#include "net/base/x509_certificate.h"
-#if defined(USE_NSS)
+#if defined(USE_NSS) || defined(OS_IOS)
#include "net/base/cert_verify_proc_nss.h"
#elif defined(USE_OPENSSL)
#include "net/base/cert_verify_proc_openssl.h"
@@ -49,7 +49,7 @@ bool IsWeakKey(X509Certificate::PublicKeyType type, size_t size_bits) {
// static
CertVerifyProc* CertVerifyProc::CreateDefault() {
-#if defined(USE_NSS)
+#if defined(USE_NSS) || defined(OS_IOS)
return new CertVerifyProcNSS();
#elif defined(USE_OPENSSL)
return new CertVerifyProcOpenSSL();
« no previous file with comments | « no previous file | net/base/cert_verify_proc_nss.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698