diff options
author | Lubom <lubomir.sedlar@gmail.com> | 2015-05-07 14:20:31 +0100 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2015-05-22 10:24:49 +0100 |
commit | 0a9f8e0621ba03d6cbd5691f997eedba2d8536f7 (patch) | |
tree | d1496b95cb04075f873d9193b184dfd9a706d328 /ssl/d1_pkt.c | |
parent | 1c687ff4dd5dcc0f05f1d062effdb40e4e41f24f (diff) |
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 <matt@openssl.org>
Reviewed-by: Kurt Roeckx <kurt@openssl.org>
(cherry picked from commit 4dc1aa0436fdb8af50960db676b739c8ef81f38c)
Diffstat (limited to 'ssl/d1_pkt.c')
-rw-r--r-- | ssl/d1_pkt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/d1_pkt.c b/ssl/d1_pkt.c index 7b49a7dd7a..d659ed428e 100644 --- a/ssl/d1_pkt.c +++ b/ssl/d1_pkt.c @@ -1065,7 +1065,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; } /* |