projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c687ff
)
Lost alert in DTLS
author
Lubom
<lubomir.sedlar@gmail.com>
Thu, 7 May 2015 13:20:31 +0000
(14:20 +0100)
committer
Matt Caswell
<matt@openssl.org>
Fri, 22 May 2015 09:24:49 +0000
(10:24 +0100)
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
)
ssl/d1_pkt.c
patch
|
blob
|
history
diff --git
a/ssl/d1_pkt.c
b/ssl/d1_pkt.c
index 7b49a7dd7a6db9221761f60a2547d2e80b4f12e7..d659ed428e6dcd8efb2b18b631976ce0a259e58b 100644
(file)
--- 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;
}
/*