summaryrefslogtreecommitdiffstats
path: root/crypto/err/err.c
diff options
context:
space:
mode:
authorRich Salz <rsalz@openssl.org>2017-04-28 14:14:59 -0400
committerRich Salz <rsalz@openssl.org>2017-04-28 14:14:59 -0400
commit595b2a42375427a254ad5a8c85870efea839a9b9 (patch)
tree288959e5c956b0306e34ca185b092a6b3f940950 /crypto/err/err.c
parent5cc977619181d5dd68fba7ec6e185550f824a6db (diff)
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)
Diffstat (limited to 'crypto/err/err.c')
-rw-r--r--crypto/err/err.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/err/err.c b/crypto/err/err.c
index d5cad0577e..f866f2fdd0 100644
--- a/crypto/err/err.c
+++ b/crypto/err/err.c
@@ -82,6 +82,7 @@ static ERR_STRING_DATA ERR_str_functs[] = {
{ERR_PACK(0, SYS_F_GETSOCKOPT, 0), "getsockopt"},
{ERR_PACK(0, SYS_F_GETSOCKNAME, 0), "getsockname"},
{ERR_PACK(0, SYS_F_GETHOSTBYNAME, 0), "gethostbyname"},
+ {ERR_PACK(0, SYS_F_FFLUSH, 0), "fflush"},
{0, NULL},
};