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

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

Issue 8156001: net: rework the NPN patch. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ... Created 9 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 side-by-side diff with in-line comments
Download patch
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 577086d13ccf3d196c44cc6fef467ab6a2964b3f..9dbf3996525d3232ee2f1fc2cef3ac99952282b0 100644
--- a/net/third_party/nss/ssl/ssl3con.c
+++ b/net/third_party/nss/ssl/ssl3con.c
@@ -8557,7 +8557,7 @@ ssl3_SendNextProto(sslSocket *ss)
int padding_len;
static const unsigned char padding[32] = {0};
- if (ss->ssl3.nextProtoState == SSL_NEXT_PROTO_NO_SUPPORT)
+ if (ss->ssl3.nextProto.len == 0)
return SECSuccess;
PORT_Assert( ss->opt.noLocks || ssl_HaveXmitBufLock(ss));

Powered by Google App Engine
This is Rietveld 408576698