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; |