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

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

Issue 1511123006: Uprev NSS (in libssl) to NSS 3.21 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updated deps Created 5 years 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
OLDNEW
(Empty)
1 diff --git a/ssl/ssl3con.c b/ssl/ssl3con.c
2 index f5afab7..a67a9d1 100644
3 --- a/ssl/ssl3con.c
4 +++ b/ssl/ssl3con.c
5 @@ -5547,9 +5547,7 @@ ssl3_HandleHelloRequest(sslSocket *ss)
6 return SECFailure;
7 }
8 if (ss->opt.enableRenegotiation == SSL_RENEGOTIATE_NEVER) {
9 - ssl_GetXmitBufLock(ss);
10 - rv = SSL3_SendAlert(ss, alert_warning, no_renegotiation);
11 - ssl_ReleaseXmitBufLock(ss);
12 + (void)SSL3_SendAlert(ss, alert_warning, no_renegotiation);
13 PORT_SetError(SSL_ERROR_RENEGOTIATION_NOT_ALLOWED);
14 return SECFailure;
15 }
OLDNEW
« no previous file with comments | « net/third_party/nss/patches/getrequestedclientcerttypes.patch ('k') | net/third_party/nss/patches/nssrwlock.patch » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698