Chromium Code Reviews| Index: net/third_party/nss/ssl/sslsnce.c |
| =================================================================== |
| --- net/third_party/nss/ssl/sslsnce.c (revision 142005) |
| +++ net/third_party/nss/ssl/sslsnce.c (working copy) |
| @@ -1377,7 +1377,6 @@ |
| PRUint32 ssl3_timeout, |
| const char * directory) |
| { |
| - ssl_InitSessionCacheLocks(PR_FALSE); |
| return SSL_ConfigServerSessionIDCacheInstance(&globalCache, |
| maxCacheEntries, ssl2_timeout, ssl3_timeout, directory, PR_FALSE); |
| } |
| @@ -1491,7 +1490,6 @@ |
| PRBool enableMPCache) |
| { |
| if (!enableMPCache) { |
| - ssl_InitSessionCacheLocks(PR_FALSE); |
|
Ryan Sleevi
2012/06/14 01:23:34
I don't believe this is correct.
Because the serv
|
| return ssl_ConfigServerSessionIDCacheInstanceWithOpt(&globalCache, |
| ssl2_timeout, ssl3_timeout, directory, PR_FALSE, |
| maxCacheEntries, maxCertCacheEntries, maxSrvNameCacheEntries); |
| @@ -1536,8 +1534,6 @@ |
| return SECSuccess; /* already done. */ |
| } |
| - ssl_InitSessionCacheLocks(PR_FALSE); |
| - |
| ssl_sid_lookup = ServerSessionIDLookup; |
| ssl_sid_cache = ServerSessionIDCache; |
| ssl_sid_uncache = ServerSessionIDUncache; |