[openssl-commits] [openssl] master update

Matt Caswell matt at openssl.org
Fri May 22 09:26:31 UTC 2015


The branch master has been updated
       via  4dc1aa0436fdb8af50960db676b739c8ef81f38c (commit)
      from  a7f82a1ab2be0b9c27944430ac48ad63cc0d5e79 (commit)


- Log -----------------------------------------------------------------
commit 4dc1aa0436fdb8af50960db676b739c8ef81f38c
Author: Lubom <lubomir.sedlar at gmail.com>
Date:   Thu May 7 14:20:31 2015 +0100

    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 at openssl.org>
    Reviewed-by: Kurt Roeckx <kurt at openssl.org>

-----------------------------------------------------------------------

Summary of changes:
 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 45324ec..159c222 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;
         }
 
         /*


More information about the openssl-commits mailing list