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

Unified Diff: build/config/crypto.gni

Issue 2746103003: Add X509CertificateBytes which uses CRYPTO_BUFFER instead of macOS-native certificate types. (Closed)
Patch Set: . Created 3 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
Index: build/config/crypto.gni
diff --git a/build/config/crypto.gni b/build/config/crypto.gni
index 0196e873e506cc946532f6aa54eb8eb8f0eb988a..e07c16820c5b745547073a1455449a617a16c1d4 100644
--- a/build/config/crypto.gni
+++ b/build/config/crypto.gni
@@ -21,3 +21,9 @@ use_openssl_certs = is_android || is_nacl
# True if NSS is used for certificate handling. It is possible to use OpenSSL
# for the crypto library, but NSS for the platform certificate library.
use_nss_certs = is_linux
+
+# True if certificates are represented with DER byte buffers. This can be true
+# in addition to use_openssl_certs or use_nss_certs, in that case byte certs
+# are used internally but OpenSSL or NSS are used for certificate verification.
+# TODO(mattm): crbug.com/671420: Implement and enable this for all platforms.
+use_byte_certs = is_mac
mattm 2017/03/29 01:19:11 My thought is to land the CL with this set to fals

Powered by Google App Engine
This is Rietveld 408576698