From: Lubom Date: Thu, 7 May 2015 13:20:31 +0000 (+0100) Subject: Lost alert in DTLS X-Git-Tag: OpenSSL_1_1_0-pre1~1101 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4dc1aa0436fdb8af50960db676b739c8ef81f38c;p=openssl 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 --- diff --git a/ssl/record/rec_layer_d1.c b/ssl/record/rec_layer_d1.c index 45324ecb15..159c222e61 100644 --- a/ssl/record/rec_layer_d1.c +++ b/ssl/record/rec_layer_d1.c @@ -704,7 +704,7 @@ int dtls1_read_bytes(SSL *s, int type, unsigned char *buf, int len, int peek) (s->rlayer.d->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; } /*