summaryrefslogtreecommitdiffstats
path: root/include
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 /include
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 'include')
-rw-r--r--include/openssl/err.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/openssl/err.h b/include/openssl/err.h
index 9bbe9e1091..29a261ceb7 100644
--- a/include/openssl/err.h
+++ b/include/openssl/err.h
@@ -159,6 +159,7 @@ typedef struct err_state_st {
# define SYS_F_GETSOCKOPT 15
# define SYS_F_GETSOCKNAME 16
# define SYS_F_GETHOSTBYNAME 17
+# define SYS_F_FFLUSH 18
/* reasons */
# define ERR_R_SYS_LIB ERR_LIB_SYS/* 2 */