Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / net / third_party / nss / patches / norenegotiatelock.patch
blob4d512e4f71965c4c4581c524c91dc1e0c5ea1f28
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;
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;