From 254c01ed548263cf7128f54dc5c51b4df18f9b37 Mon Sep 17 00:00:00 2001 From: Lubom Date: Thu, 7 May 2015 14:20:31 +0100 Subject: [PATCH] Lost alert in DTLS If a client receives a bad hello request in DTLS then the alert is not sent correctly. RT#2801 Signed-off-by: Matt Caswell Reviewed-by: Kurt Roeckx (cherry picked from commit 4dc1aa0436fdb8af50960db676b739c8ef81f38c) --- ssl/d1_pkt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ssl/d1_pkt.c b/ssl/d1_pkt.c index 940ca69279..fe30ec7d00 100644 --- a/ssl/d1_pkt.c +++ b/ssl/d1_pkt.c @@ -1069,7 +1069,7 @@ int dtls1_read_bytes(SSL *s, int type, unsigned char *buf, int len, int peek) (s->d1->handshake_fragment[3] != 0)) { al = SSL_AD_DECODE_ERROR; SSLerr(SSL_F_DTLS1_READ_BYTES, SSL_R_BAD_HELLO_REQUEST); - goto err; + goto f_err; } /* -- 2.25.1