Check fflush on BIO_ctrl call
authorRich Salz <rsalz@openssl.org>
Sun, 30 Apr 2017 14:11:07 +0000 (10:11 -0400)
committerRich Salz <rsalz@openssl.org>
Sun, 30 Apr 2017 14:11:07 +0000 (10:11 -0400)
commit13f70ae2a9734b8eedea337aa947a75d27ed8320
tree7a2e7dbb4747b573959a973b4ddd306a2e434359
parentde46e8246bf30f9d8a6b8a66b37f8bf63115aeb6
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)
(cherry picked from commit 595b2a42375427a254ad5a8c85870efea839a9b9)
Reviewed-by: Andy Polyakov <appro@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3348)
crypto/bio/bss_file.c
crypto/err/err.c
crypto/err/err.h