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

Unified Diff: net/third_party/nss/ssl/sslsock.c

Issue 7058049: Added client-side support for the TLS cached info extension. This feature is disabled by default ... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 6 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/third_party/nss/ssl/sslimpl.h ('k') | net/third_party/nss/ssl/sslt.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/third_party/nss/ssl/sslsock.c
===================================================================
--- net/third_party/nss/ssl/sslsock.c (revision 89911)
+++ net/third_party/nss/ssl/sslsock.c (working copy)
@@ -186,6 +186,7 @@
PR_FALSE, /* requireSafeNegotiation */
PR_FALSE, /* enableFalseStart */
PR_FALSE, /* enableOCSPStapling */
+ PR_FALSE, /* enableCachedInfo */
};
sslSessionIDLookupFunc ssl_sid_lookup;
@@ -747,6 +748,10 @@
ss->opt.enableOCSPStapling = on;
break;
+ case SSL_ENABLE_CACHED_INFO:
+ ss->opt.enableCachedInfo = on;
+ break;
+
default:
PORT_SetError(SEC_ERROR_INVALID_ARGS);
rv = SECFailure;
@@ -812,6 +817,7 @@
on = ss->opt.requireSafeNegotiation; break;
case SSL_ENABLE_FALSE_START: on = ss->opt.enableFalseStart; break;
case SSL_ENABLE_OCSP_STAPLING: on = ss->opt.enableOCSPStapling; break;
+ case SSL_ENABLE_CACHED_INFO: on = ss->opt.enableCachedInfo; break;
default:
PORT_SetError(SEC_ERROR_INVALID_ARGS);
@@ -866,6 +872,7 @@
case SSL_ENABLE_OCSP_STAPLING:
on = ssl_defaults.enableOCSPStapling;
break;
+ case SSL_ENABLE_CACHED_INFO: on = ssl_defaults.enableCachedInfo; break;
default:
PORT_SetError(SEC_ERROR_INVALID_ARGS);
@@ -1017,6 +1024,10 @@
ssl_defaults.enableOCSPStapling = on;
break;
+ case SSL_ENABLE_CACHED_INFO:
+ ssl_defaults.enableCachedInfo = on;
+ break;
+
default:
PORT_SetError(SEC_ERROR_INVALID_ARGS);
return SECFailure;
« no previous file with comments | « net/third_party/nss/ssl/sslimpl.h ('k') | net/third_party/nss/ssl/sslt.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698