diff options
author | Rich Salz <rsalz@openssl.org> | 2018-04-03 11:31:16 -0400 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2018-04-03 11:31:16 -0400 |
commit | cdb10bae3f773401e039c55965eb177a6f3fc160 (patch) | |
tree | c69b1b2bc385d3f600684cf8285b9ff80322c48f /include/openssl/bioerr.h | |
parent | 29f484d00d732ea4c19a7fd3dc0440045653e79e (diff) | |
download | openssl-new-cdb10bae3f773401e039c55965eb177a6f3fc160.tar.gz |
Set error code on alloc failures
Almost all *alloc failures now set an error code.
Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
(Merged from https://github.com/openssl/openssl/pull/5842)
Diffstat (limited to 'include/openssl/bioerr.h')
-rw-r--r-- | include/openssl/bioerr.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/openssl/bioerr.h b/include/openssl/bioerr.h index 4931c1d0ad..de703889d8 100644 --- a/include/openssl/bioerr.h +++ b/include/openssl/bioerr.h @@ -20,6 +20,7 @@ int ERR_load_BIO_strings(void); * BIO function codes. */ # define BIO_F_ACPT_STATE 100 +# define BIO_F_ADDRINFO_WRAP 148 # define BIO_F_ADDR_STRINGS 134 # define BIO_F_BIO_ACCEPT 101 # define BIO_F_BIO_ACCEPT_EX 137 @@ -60,11 +61,14 @@ int ERR_load_BIO_strings(void); # define BIO_F_BUFFER_CTRL 114 # define BIO_F_CONN_CTRL 127 # define BIO_F_CONN_STATE 115 +# define BIO_F_DGRAM_SCTP_NEW 149 # define BIO_F_DGRAM_SCTP_READ 132 # define BIO_F_DGRAM_SCTP_WRITE 133 +# define BIO_F_DOAPR_OUTCH 150 # define BIO_F_FILE_CTRL 116 # define BIO_F_FILE_READ 130 # define BIO_F_LINEBUFFER_CTRL 129 +# define BIO_F_LINEBUFFER_NEW 151 # define BIO_F_MEM_WRITE 117 # define BIO_F_SSL_NEW 118 |