diff options
author | Jung-uk Kim <jkim@FreeBSD.org> | 2019-09-10 17:40:53 +0000 |
---|---|---|
committer | Jung-uk Kim <jkim@FreeBSD.org> | 2019-09-10 17:40:53 +0000 |
commit | fbc3ad1ae1976eb5f2bac351260f2c5ee255c27f (patch) | |
tree | 47b0480872069bf4f86022494c02f03c8064090d /ssl/d1_msg.c | |
parent | 55cff0339bb965074f300ecedc3f153ffb3e0fd3 (diff) | |
download | src-test2-fbc3ad1ae1976eb5f2bac351260f2c5ee255c27f.tar.gz src-test2-fbc3ad1ae1976eb5f2bac351260f2c5ee255c27f.zip |
Notes
Diffstat (limited to 'ssl/d1_msg.c')
-rw-r--r-- | ssl/d1_msg.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/ssl/d1_msg.c b/ssl/d1_msg.c index 5906e88ca68f..6365b365e7f6 100644 --- a/ssl/d1_msg.c +++ b/ssl/d1_msg.c @@ -1,5 +1,5 @@ /* - * Copyright 2005-2016 The OpenSSL Project Authors. All Rights Reserved. + * Copyright 2005-2019 The OpenSSL Project Authors. All Rights Reserved. * * Licensed under the OpenSSL license (the "License"). You may not use * this file except in compliance with the License. You can obtain a copy @@ -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, |