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:53:33 +0000 (14:53 -0400)
commit913d3a644edafee2a20c620e8625e9f3be49f643
tree598c2f0d7e1ebb75f857aecce653436898292c8a
parentc4a53021b953e8c279e50b39b561dfda83fa597d
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)
crypto/bio/bss_file.c
crypto/err/err.c
include/openssl/err.h