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

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

Issue 10221018: net: don't set NSS options in a callback. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 7 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/net/third_party/nss/ssl/ssl3con.c b/net/third_party/nss/ssl/ssl3con .c
2 index 5476fa5..f97065a 100644
3 --- a/net/third_party/nss/ssl/ssl3con.c
4 +++ b/net/third_party/nss/ssl/ssl3con.c
5 @@ -6108,6 +6108,7 @@ ssl3_CanFalseStart(sslSocket *ss) {
6 rv = ss->opt.enableFalseStart &&
7 !ss->sec.isServer &&
8 !ss->ssl3.hs.isResuming &&
9 + ssl3_ExtensionNegotiated(ss, ssl_next_proto_nego_xtn) &&
10 ss->ssl3.cwSpec &&
11
12 /* An attacker can control the selected ciphersuite so we only wish to
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698