• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1Index: net/third_party/nss/ssl/sslnonce.c
2===================================================================
3--- net/third_party/nss/ssl/sslnonce.c	(revision 240143)
4+++ net/third_party/nss/ssl/sslnonce.c	(working copy)
5@@ -438,6 +438,12 @@
6     /* We need to lock the cache, as this sid might already be in the cache. */
7     LOCK_CACHE;
8
9+    /* Don't modify sid if it has ever been cached. */
10+    if (sid->cached != never_cached) {
11+	UNLOCK_CACHE;
12+	return SECSuccess;
13+    }
14+
15     /* A server might have sent us an empty ticket, which has the
16      * effect of clearing the previously known ticket.
17      */
18