Index: build/config/crypto.gni |
diff --git a/build/config/crypto.gni b/build/config/crypto.gni |
index 44e5bc92390f5fe77286eb6a1d5ad22f2d133be1..fc4cbb43bd141c17bc0c70244002a719a3ac797a 100644 |
--- a/build/config/crypto.gni |
+++ b/build/config/crypto.gni |
@@ -12,3 +12,11 @@ declare_args() { |
# code, and is experimental in other cases (see http://crbug.com/62803). |
use_openssl = is_android || is_nacl |
} |
+ |
+# True when we're using OpenSSL for certificate verification and storage. We |
+# only do this when we're using OpenSSL on desktop Linux systems. For other |
+# systems (Mac/Win/Android) we use the system certificate features. |
+use_openssl_certs = use_openssl && is_linux |
+ |
+# Same meaning as use_openssl_certs but for NSS. |
+use_nss_certs = !use_openssl && is_linux |