issue-8998: Ensure that the alert is generated and reaches the remote
Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/9041)
This commit is contained in:
parent
8869ad4a39
commit
03da376ff7
1 changed files with 1 additions and 2 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue