[openssl] master update

Matt Caswell matt at openssl.org
Thu May 30 10:43:00 UTC 2019


The branch master has been updated
       via  03da376ff7504c63a1d00d57cf41bd7b7e93ff65 (commit)
      from  8869ad4a39f13307ab710c1c53d97a46e144aef0 (commit)


- Log -----------------------------------------------------------------
commit 03da376ff7504c63a1d00d57cf41bd7b7e93ff65
Author: agnosticdev <agnosticdev at gmail.com>
Date:   Wed May 29 10:27:26 2019 -0500

    issue-8998: Ensure that the alert is generated and reaches the remote
    
    Reviewed-by: Richard Levitte <levitte at openssl.org>
    Reviewed-by: Matt Caswell <matt at openssl.org>
    (Merged from https://github.com/openssl/openssl/pull/9041)

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

Summary of changes:
 ssl/d1_msg.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/ssl/d1_msg.c b/ssl/d1_msg.c
index 0891d94..0dc8361 100644
--- a/ssl/d1_msg.c
+++ b/ssl/d1_msg.c
@@ -52,8 +52,7 @@ int dtls1_dispatch_alert(SSL *s)
         s->s3.alert_dispatch = 1;
         /* fprintf( stderr, "not done with alert\n" ); */
     } else {
-        if (s->s3.send_alert[0] == SSL3_AL_FATAL)
-            (void)BIO_flush(s->wbio);
+        (void)BIO_flush(s->wbio);
 
         if (s->msg_callback)
             s->msg_callback(1, s->version, SSL3_RT_ALERT, s->s3.send_alert,


More information about the openssl-commits mailing list