diff options
author | Matt Caswell <matt@openssl.org> | 2016-10-25 14:19:59 +0200 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2016-10-28 10:48:54 +0200 |
commit | 7bf79e33c94545eb3d67f142ce2dcc974c4dc79b (patch) | |
tree | 5b1376a58e1735ad7330c43a9f0aa61317d3b9da /crypto/bio/bio_err.c | |
parent | Add some sanity checks for BIO_read* and BIO_gets (diff) | |
download | openssl-7bf79e33c94545eb3d67f142ce2dcc974c4dc79b.tar.xz openssl-7bf79e33c94545eb3d67f142ce2dcc974c4dc79b.zip |
Fix some feedback issues for BIO size_t-ify
Rename some parameters; add some error codes; fix a comment; etc
Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'crypto/bio/bio_err.c')
-rw-r--r-- | crypto/bio/bio_err.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/crypto/bio/bio_err.c b/crypto/bio/bio_err.c index 68399aa54a..b8cb1ebf13 100644 --- a/crypto/bio/bio_err.c +++ b/crypto/bio/bio_err.c @@ -45,12 +45,14 @@ static ERR_STRING_DATA BIO_str_functs[] = { {ERR_FUNC(BIO_F_BIO_PUTS), "BIO_puts"}, {ERR_FUNC(BIO_F_BIO_READ), "BIO_read"}, {ERR_FUNC(BIO_F_BIO_READ_EX), "BIO_read_ex"}, + {ERR_FUNC(BIO_F_BIO_READ_INTERN), "bio_read_intern"}, {ERR_FUNC(BIO_F_BIO_SOCKET), "BIO_socket"}, {ERR_FUNC(BIO_F_BIO_SOCKET_NBIO), "BIO_socket_nbio"}, {ERR_FUNC(BIO_F_BIO_SOCK_INFO), "BIO_sock_info"}, {ERR_FUNC(BIO_F_BIO_SOCK_INIT), "BIO_sock_init"}, {ERR_FUNC(BIO_F_BIO_WRITE), "BIO_write"}, {ERR_FUNC(BIO_F_BIO_WRITE_EX), "BIO_write_ex"}, + {ERR_FUNC(BIO_F_BIO_WRITE_INTERN), "bio_write_intern"}, {ERR_FUNC(BIO_F_BUFFER_CTRL), "buffer_ctrl"}, {ERR_FUNC(BIO_F_CONN_CTRL), "conn_ctrl"}, {ERR_FUNC(BIO_F_CONN_STATE), "conn_state"}, @@ -82,6 +84,7 @@ static ERR_STRING_DATA BIO_str_reasons[] = { {ERR_REASON(BIO_R_INVALID_ARGUMENT), "invalid argument"}, {ERR_REASON(BIO_R_INVALID_SOCKET), "invalid socket"}, {ERR_REASON(BIO_R_IN_USE), "in use"}, + {ERR_REASON(BIO_R_LENGTH_TOO_LONG), "length too long"}, {ERR_REASON(BIO_R_LISTEN_V6_ONLY), "listen v6 only"}, {ERR_REASON(BIO_R_LOOKUP_RETURNED_NOTHING), "lookup returned nothing"}, {ERR_REASON(BIO_R_MALFORMED_HOST_OR_SERVICE), |