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

Unified Diff: build/config/crypto.gni

Issue 1808963004: Adding macro to enable changing SSL library (Part 1) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove remoting_nacl change. Created 4 years, 9 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 | « build/config/BUILD.gn ('k') | crypto/nss_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/config/crypto.gni
diff --git a/build/config/crypto.gni b/build/config/crypto.gni
index 99ce428d7a1a8ec9667306b9a6ade5eb832b8d74..7d671cf819deeb7e4aa07eb352a9bde42bd4952c 100644
--- a/build/config/crypto.gni
+++ b/build/config/crypto.gni
@@ -24,7 +24,12 @@ declare_args() {
# is unsupported.
use_openssl_certs = is_android || is_nacl
-# True if NSS is used for certificate verification. Note that this is
-# independent from use_openssl. It is possible to use OpenSSL for the crypto
-# library, but NSS for the platform certificate library.
+# True if NSS is used for certificate handling. Note that this is independent
+# from use_openssl. It is possible to use OpenSSL for the crypto library, but
+# NSS for the platform certificate library.
use_nss_certs = is_linux
+
+# True if NSS is used for certificate verification. On non-OpenSSL iOS
+# configurations, certificates use the operating system library, but the
+# verifier uses the bundled copy of NSS.
+use_nss_verifier = use_nss_certs || (is_ios && !use_openssl)
« no previous file with comments | « build/config/BUILD.gn ('k') | crypto/nss_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698