summaryrefslogtreecommitdiff
path: root/lib/libssl/src/ssl/s3_pkt.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libssl/src/ssl/s3_pkt.c')
-rw-r--r--lib/libssl/src/ssl/s3_pkt.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/libssl/src/ssl/s3_pkt.c b/lib/libssl/src/ssl/s3_pkt.c
index e901268a341..ec73ef50bd9 100644
--- a/lib/libssl/src/ssl/s3_pkt.c
+++ b/lib/libssl/src/ssl/s3_pkt.c
@@ -1095,8 +1095,7 @@ start:
(s->version > SSL3_VERSION) &&
(s->s3->handshake_fragment_len >= 4) &&
(s->s3->handshake_fragment[0] == SSL3_MT_CLIENT_HELLO) &&
- (s->session != NULL) && (s->session->cipher != NULL) &&
- !(s->ctx->options & SSL_OP_ALLOW_UNSAFE_LEGACY_RENEGOTIATION)) {
+ (s->session != NULL) && (s->session->cipher != NULL)) {
/*s->s3->handshake_fragment_len = 0;*/
rr->length = 0;
ssl3_send_alert(s, SSL3_AL_WARNING, SSL_AD_NO_RENEGOTIATION);