Check fflush on BIO_ctrl call
authorRich Salz <rsalz@openssl.org>
Fri, 28 Apr 2017 18:14:59 +0000 (14:14 -0400)
committerRich Salz <rsalz@openssl.org>
Fri, 28 Apr 2017 18:14:59 +0000 (14:14 -0400)
commit595b2a42375427a254ad5a8c85870efea839a9b9
tree288959e5c956b0306e34ca185b092a6b3f940950
parent5cc977619181d5dd68fba7ec6e185550f824a6db
Check fflush on BIO_ctrl call

Bug found and fix suggested by Julian RĂ¼th.
Push error if fflush fails

Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3266)
crypto/bio/bss_file.c
crypto/err/err.c
include/openssl/err.h