]> git.ipfire.org Git - thirdparty/openssl.git/commit
Always flush the BIO when we send any alert
authorTodd Short <tshort@akamai.com>
Fri, 12 May 2017 13:05:11 +0000 (09:05 -0400)
committerMatt Caswell <matt@openssl.org>
Tue, 6 Jun 2017 21:39:41 +0000 (22:39 +0100)
commit270d65fa34caa974fb27c9b161b0c9b6cd806c76
treea9f2aa582961d719fcf834277211d9b48e24b1d8
parent84344efa7a992bfe3232a0b1dbd34b13b94f841c
Always flush the BIO when we send any alert

At the moment we flush the write BIO if we send a fatal alert, but not a
warning one. This can mean the warning is never sent if we never do another
write and subsequently flush the BIO. Instead we should just always flush
after writing an alert.

Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3432)
ssl/s3_msg.c