summaryrefslogtreecommitdiffstats
path: root/crypto/bio/bio_err.c
diff options
context:
space:
mode:
authorBen Laurie <ben@openssl.org>2000-08-28 12:54:18 +0000
committerBen Laurie <ben@openssl.org>2000-08-28 12:54:18 +0000
commitb3756cf0e9622a4bbda5e4c417248255ba9daaf2 (patch)
tree779415f5a3573f129e7d463563da44ffc84f5d04 /crypto/bio/bio_err.c
parent065866b28d95b670b63a0ccf47cd0db2064a1b3d (diff)
Diagnose EOF on memory BIOs (or you just get mysterious errors with no error
message).
Diffstat (limited to 'crypto/bio/bio_err.c')
-rw-r--r--crypto/bio/bio_err.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto/bio/bio_err.c b/crypto/bio/bio_err.c
index f38e7b9178..1d6a0e733f 100644
--- a/crypto/bio/bio_err.c
+++ b/crypto/bio/bio_err.c
@@ -91,6 +91,7 @@ static ERR_STRING_DATA BIO_str_functs[]=
{ERR_PACK(0,BIO_F_CONN_CTRL,0), "CONN_CTRL"},
{ERR_PACK(0,BIO_F_CONN_STATE,0), "CONN_STATE"},
{ERR_PACK(0,BIO_F_FILE_CTRL,0), "FILE_CTRL"},
+{ERR_PACK(0,BIO_F_MEM_READ,0), "MEM_READ"},
{ERR_PACK(0,BIO_F_MEM_WRITE,0), "MEM_WRITE"},
{ERR_PACK(0,BIO_F_SSL_NEW,0), "SSL_new"},
{ERR_PACK(0,BIO_F_WSASTARTUP,0), "WSASTARTUP"},
@@ -104,6 +105,7 @@ static ERR_STRING_DATA BIO_str_reasons[]=
{BIO_R_BAD_HOSTNAME_LOOKUP ,"bad hostname lookup"},
{BIO_R_BROKEN_PIPE ,"broken pipe"},
{BIO_R_CONNECT_ERROR ,"connect error"},
+{BIO_R_EOF_ON_MEMORY_BIO ,"eof on memory bio"},
{BIO_R_ERROR_SETTING_NBIO ,"error setting nbio"},
{BIO_R_ERROR_SETTING_NBIO_ON_ACCEPTED_SOCKET,"error setting nbio on accepted socket"},
{BIO_R_ERROR_SETTING_NBIO_ON_ACCEPT_SOCKET,"error setting nbio on accept socket"},