From e1bccde1a76cb3c2b9204093083b8704b81ac37f Mon Sep 17 00:00:00 2001 From: Tomas Mraz Date: Wed, 4 Jun 2025 18:19:48 +0200 Subject: [PATCH] dtls1_read_bytes(): Fix backported patch for no renegotiation Reviewed-by: Neil Horman Reviewed-by: Matt Caswell (Merged from https://github.com/openssl/openssl/pull/27762) --- ssl/record/rec_layer_d1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ssl/record/rec_layer_d1.c b/ssl/record/rec_layer_d1.c index b9163e239d0..9020600d56c 100644 --- a/ssl/record/rec_layer_d1.c +++ b/ssl/record/rec_layer_d1.c @@ -615,7 +615,7 @@ int dtls1_read_bytes(SSL *s, int type, int *recvd_type, unsigned char *buf, * the future we might have a renegotiation where we don't care * if the peer refused it where we carry on. */ - SSLfatal(sc, SSL_AD_HANDSHAKE_FAILURE, SSL_R_NO_RENEGOTIATION); + SSLfatal(s, SSL_AD_HANDSHAKE_FAILURE, SSL_R_NO_RENEGOTIATION); return -1; } } else if (alert_level == SSL3_AL_FATAL) { -- 2.47.2