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

Unified Diff: net/ssl/ssl_info.h

Issue 1313363003: Expose OpenSSL's key_exchange_info in the content API (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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_info.h
diff --git a/net/ssl/ssl_info.h b/net/ssl/ssl_info.h
index da20817c2e688908c4f83e1541ecd5f3d44ba906..7627e9508eaf1b8011c7980c641077ddd64213af 100644
--- a/net/ssl/ssl_info.h
+++ b/net/ssl/ssl_info.h
@@ -60,6 +60,12 @@ class NET_EXPORT SSLInfo {
// -1 means the security strength is unknown.
int security_bits;
+ // Security information of the SSL connection handshake.
+ // The meaning depends on the cipher used, see |SSL_SESSION|'s
+ // key_exchange_info for more information.
+ // A zero indicates that the value is unknown.
mmenke 2015/08/26 15:28:37 Is there a case where for some cipher, an actual v
sigbjorn 2015/08/26 15:46:15 No. It will hold either a bit strength (which nece
+ int key_exchange_info;
+
// Information about the SSL connection itself. See
// ssl_connection_status_flags.h for values. The protocol version,
// ciphersuite, and compression in use are encoded within.

Powered by Google App Engine
This is Rietveld 408576698