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

Unified Diff: net/ssl/ssl_config.h

Issue 2239963002: Add enterprise policy to allow locally issued SHA-1 certificates. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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: net/ssl/ssl_config.h
diff --git a/net/ssl/ssl_config.h b/net/ssl/ssl_config.h
index 9aca5755271f7ee38f4bfb1ed1365805413a1eff..7ac743e2a017360b4c00e6a71f4b8a4cc843bfa8 100644
--- a/net/ssl/ssl_config.h
+++ b/net/ssl/ssl_config.h
@@ -82,6 +82,10 @@ struct NET_EXPORT SSLConfig {
// certificate chain chains to a local (non-public) trust anchor.
bool rev_checking_required_local_anchors;
+ // sha1_local_anchors_enabled is true if SHA-1 signed certificates issued by a
+ // local (non-public) trust anchor should be allowed.
+ bool sha1_local_anchors_enabled;
+
// The minimum and maximum protocol versions that are enabled.
// (Use the SSL_PROTOCOL_VERSION_xxx enumerators defined above.)
// SSL 2.0 and SSL 3.0 are not supported. If version_max < version_min, it

Powered by Google App Engine
This is Rietveld 408576698