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

Unified Diff: net/ssl/ssl_config.h

Issue 1131763002: Reject renegotiations in SSLClientSocket by default. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: NSS greediness... Created 5 years, 7 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 | « net/socket/ssl_client_socket_openssl.cc ('k') | net/ssl/ssl_config.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/ssl/ssl_config.h
diff --git a/net/ssl/ssl_config.h b/net/ssl/ssl_config.h
index 1b623a14dcd9e3b29541eb91a28ba86352887898..0a195b0a20639ffc1bc1909dfdeab6b22848da72 100644
--- a/net/ssl/ssl_config.h
+++ b/net/ssl/ssl_config.h
@@ -161,6 +161,13 @@ struct NET_EXPORT SSLConfig {
// requested by the client.
NextProtoVector next_protos;
+ // True if renegotiation should be allowed for the default application-level
+ // protocol when the peer negotiates neither ALPN nor NPN.
+ bool renego_allowed_default;
+
+ // The list of application-level protocols to enable renegotiation for.
+ NextProtoVector renego_allowed_for_protos;
+
scoped_refptr<X509Certificate> client_cert;
// Information about how to proceed with fastradio padding.
« no previous file with comments | « net/socket/ssl_client_socket_openssl.cc ('k') | net/ssl/ssl_config.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698