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

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

Issue 6413010: Allow the SSL session cache on Win/Mac to be used even after a client cert key is removed (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 10 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 | « no previous file | net/third_party/nss/ssl/sslimpl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/third_party/nss/ssl/ssl3con.c
diff --git a/net/third_party/nss/ssl/ssl3con.c b/net/third_party/nss/ssl/ssl3con.c
index f5c08800547f672f719672a433d8d04229b3d17a..6aaa88c9667aabb3dd03d87f5ea14f8cf153b76a 100644
--- a/net/third_party/nss/ssl/ssl3con.c
+++ b/net/third_party/nss/ssl/ssl3con.c
@@ -2012,10 +2012,7 @@ ssl3_ComputeRecordMAC(
static PRBool
ssl3_ClientAuthTokenPresent(sslSessionID *sid) {
#ifdef NSS_PLATFORM_CLIENT_AUTH
- if (!sid || !sid->u.ssl3.clPlatformAuthValid) {
- return PR_TRUE;
- }
- return ssl_PlatformAuthTokenPresent(&sid->u.ssl3.clPlatformAuthInfo);
+ return PR_TRUE;
wtc 2011/02/06 03:02:31 It would be nice to document the consequence of re
wtc 2011/02/06 16:29:44 rsleevi: thank you for looking up the NSS bug. It
#else
PK11SlotInfo *slot = NULL;
PRBool isPresent = PR_TRUE;
@@ -4837,12 +4834,6 @@ ssl3_SendCertificateVerify(sslSocket *ss)
#ifdef NSS_PLATFORM_CLIENT_AUTH
rv = ssl3_PlatformSignHashes(&hashes, ss->ssl3.platformClientKey,
&buf, isTLS);
- if (rv == SECSuccess) {
- sslSessionID * sid = ss->sec.ci.sid;
- ssl_GetPlatformAuthInfoForKey(ss->ssl3.platformClientKey,
- &sid->u.ssl3.clPlatformAuthInfo);
- sid->u.ssl3.clPlatformAuthValid = PR_TRUE;
- }
ssl_FreePlatformKey(ss->ssl3.platformClientKey);
ss->ssl3.platformClientKey = (PlatformKey)NULL;
#else /* NSS_PLATFORM_CLIENT_AUTH */
« no previous file with comments | « no previous file | net/third_party/nss/ssl/sslimpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698