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

Side by Side Diff: net/third_party/nss/patches/resumeclienthelloversion.patch

Issue 25868004: net: don't send resumption ClientHello records with versions > 0x0301. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add reference to Bugzilla bug. Created 7 years, 2 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 diff --git a/nss/lib/ssl/ssl3con.c b/nss/lib/ssl/ssl3con.c
2 index d22a7d6..024e9d1 100644
3 --- a/nss/lib/ssl/ssl3con.c
4 +++ b/nss/lib/ssl/ssl3con.c
5 @@ -5363,7 +5363,7 @@ ssl3_SendClientHello(sslSocket *ss, PRBool resending)
6 }
7
8 flags = 0;
9 - if (!ss->firstHsDone && !requestingResume && !IS_DTLS(ss)) {
10 + if (!ss->firstHsDone && !IS_DTLS(ss)) {
11 flags |= ssl_SEND_FLAG_CAP_RECORD_VERSION;
12 }
13 rv = ssl3_FlushHandshake(ss, flags);
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698