diff options
author | Richard Levitte <levitte@openssl.org> | 2016-02-02 21:44:01 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2016-02-03 19:38:07 +0100 |
commit | 2fcff74c879c3ff5bcbf11390daf37442cb6aa0c (patch) | |
tree | 1a6dd3aacb8139b50cd63e100ad9a4c84e26d177 | |
parent | b00b21242ae96aeb5521252bf0cdece5be0047a1 (diff) |
make update
Reviewed-by: Kurt Roeckx <kurt@openssl.org>
-rw-r--r-- | crypto/bio/bio_err.c | 15 | ||||
-rw-r--r-- | include/openssl/bio.h | 14 | ||||
-rwxr-xr-x | util/libeay.num | 16 |
3 files changed, 40 insertions, 5 deletions
diff --git a/crypto/bio/bio_err.c b/crypto/bio/bio_err.c index e30c96a2d4..0942c281b2 100644 --- a/crypto/bio/bio_err.c +++ b/crypto/bio/bio_err.c @@ -73,14 +73,17 @@ static ERR_STRING_DATA BIO_str_functs[] = { {ERR_FUNC(BIO_F_ACPT_STATE), "acpt_state"}, {ERR_FUNC(BIO_F_ADDR_STRINGS), "addr_strings"}, {ERR_FUNC(BIO_F_BIO_ACCEPT), "BIO_accept"}, + {ERR_FUNC(BIO_F_BIO_ACCEPT_EX), "BIO_accept_ex"}, {ERR_FUNC(BIO_F_BIO_BER_GET_HEADER), "BIO_BER_GET_HEADER"}, {ERR_FUNC(BIO_F_BIO_CALLBACK_CTRL), "BIO_callback_ctrl"}, + {ERR_FUNC(BIO_F_BIO_CONNECT), "BIO_connect"}, {ERR_FUNC(BIO_F_BIO_CTRL), "BIO_ctrl"}, {ERR_FUNC(BIO_F_BIO_GETHOSTBYNAME), "BIO_gethostbyname"}, {ERR_FUNC(BIO_F_BIO_GETS), "BIO_gets"}, {ERR_FUNC(BIO_F_BIO_GET_ACCEPT_SOCKET), "BIO_get_accept_socket"}, {ERR_FUNC(BIO_F_BIO_GET_HOST_IP), "BIO_get_host_ip"}, {ERR_FUNC(BIO_F_BIO_GET_PORT), "BIO_get_port"}, + {ERR_FUNC(BIO_F_BIO_LISTEN), "BIO_listen"}, {ERR_FUNC(BIO_F_BIO_LOOKUP), "BIO_lookup"}, {ERR_FUNC(BIO_F_BIO_MAKE_PAIR), "bio_make_pair"}, {ERR_FUNC(BIO_F_BIO_NEW), "BIO_new"}, @@ -93,6 +96,8 @@ static ERR_STRING_DATA BIO_str_functs[] = { {ERR_FUNC(BIO_F_BIO_PARSE_HOSTSERV), "BIO_parse_hostserv"}, {ERR_FUNC(BIO_F_BIO_PUTS), "BIO_puts"}, {ERR_FUNC(BIO_F_BIO_READ), "BIO_read"}, + {ERR_FUNC(BIO_F_BIO_SOCKET), "BIO_socket"}, + {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_BUFFER_CTRL), "buffer_ctrl"}, @@ -125,10 +130,16 @@ static ERR_STRING_DATA BIO_str_reasons[] = { "error setting nbio on accept socket"}, {ERR_REASON(BIO_R_GETHOSTBYNAME_ADDR_IS_NOT_AF_INET), "gethostbyname addr is not af inet"}, + {ERR_REASON(BIO_R_GETSOCKNAME_ERROR), "getsockname error"}, + {ERR_REASON(BIO_R_GETSOCKNAME_TRUNCATED_ADDRESS), + "getsockname truncated address"}, + {ERR_REASON(BIO_R_GETTING_SOCKTYPE), "getting socktype"}, {ERR_REASON(BIO_R_INVALID_ARGUMENT), "invalid argument"}, {ERR_REASON(BIO_R_INVALID_IP_ADDRESS), "invalid ip address"}, + {ERR_REASON(BIO_R_INVALID_SOCKET), "invalid socket"}, {ERR_REASON(BIO_R_IN_USE), "in use"}, {ERR_REASON(BIO_R_KEEPALIVE), "keepalive"}, + {ERR_REASON(BIO_R_LISTEN_V6_ONLY), "listen v6 only"}, {ERR_REASON(BIO_R_MALFORMED_HOST_OR_SERVICE), "malformed host or service"}, {ERR_REASON(BIO_R_NBIO_CONNECT_ERROR), "nbio connect error"}, {ERR_REASON(BIO_R_NO_ACCEPT_PORT_SPECIFIED), "no accept port specified"}, @@ -140,8 +151,12 @@ static ERR_STRING_DATA BIO_str_reasons[] = { {ERR_REASON(BIO_R_TAG_MISMATCH), "tag mismatch"}, {ERR_REASON(BIO_R_UNABLE_TO_BIND_SOCKET), "unable to bind socket"}, {ERR_REASON(BIO_R_UNABLE_TO_CREATE_SOCKET), "unable to create socket"}, + {ERR_REASON(BIO_R_UNABLE_TO_KEEPALIVE), "unable to keepalive"}, {ERR_REASON(BIO_R_UNABLE_TO_LISTEN_SOCKET), "unable to listen socket"}, + {ERR_REASON(BIO_R_UNABLE_TO_NODELAY), "unable to nodelay"}, + {ERR_REASON(BIO_R_UNABLE_TO_REUSEADDR), "unable to reuseaddr"}, {ERR_REASON(BIO_R_UNINITIALIZED), "uninitialized"}, + {ERR_REASON(BIO_R_UNKNOWN_INFO_TYPE), "unknown info type"}, {ERR_REASON(BIO_R_UNSUPPORTED_METHOD), "unsupported method"}, {ERR_REASON(BIO_R_UNSUPPORTED_PROTOCOL_FAMILY), "unsupported protocol family"}, diff --git a/include/openssl/bio.h b/include/openssl/bio.h index be659c7c7a..62f9369909 100644 --- a/include/openssl/bio.h +++ b/include/openssl/bio.h @@ -828,14 +828,17 @@ void ERR_load_BIO_strings(void); # define BIO_F_ACPT_STATE 100 # define BIO_F_ADDR_STRINGS 134 # define BIO_F_BIO_ACCEPT 101 +# define BIO_F_BIO_ACCEPT_EX 137 # define BIO_F_BIO_BER_GET_HEADER 102 # define BIO_F_BIO_CALLBACK_CTRL 131 +# define BIO_F_BIO_CONNECT 138 # define BIO_F_BIO_CTRL 103 # define BIO_F_BIO_GETHOSTBYNAME 120 # define BIO_F_BIO_GETS 104 # define BIO_F_BIO_GET_ACCEPT_SOCKET 105 # define BIO_F_BIO_GET_HOST_IP 106 # define BIO_F_BIO_GET_PORT 107 +# define BIO_F_BIO_LISTEN 139 # define BIO_F_BIO_LOOKUP 135 # define BIO_F_BIO_MAKE_PAIR 121 # define BIO_F_BIO_NEW 108 @@ -848,6 +851,8 @@ void ERR_load_BIO_strings(void); # define BIO_F_BIO_PARSE_HOSTSERV 136 # define BIO_F_BIO_PUTS 110 # define BIO_F_BIO_READ 111 +# define BIO_F_BIO_SOCKET 140 +# define BIO_F_BIO_SOCK_INFO 141 # define BIO_F_BIO_SOCK_INIT 112 # define BIO_F_BIO_WRITE 113 # define BIO_F_BUFFER_CTRL 114 @@ -875,10 +880,15 @@ void ERR_load_BIO_strings(void); # define BIO_R_ERROR_SETTING_NBIO_ON_ACCEPTED_SOCKET 105 # define BIO_R_ERROR_SETTING_NBIO_ON_ACCEPT_SOCKET 106 # define BIO_R_GETHOSTBYNAME_ADDR_IS_NOT_AF_INET 107 +# define BIO_R_GETSOCKNAME_ERROR 132 +# define BIO_R_GETSOCKNAME_TRUNCATED_ADDRESS 133 +# define BIO_R_GETTING_SOCKTYPE 134 # define BIO_R_INVALID_ARGUMENT 125 # define BIO_R_INVALID_IP_ADDRESS 108 +# define BIO_R_INVALID_SOCKET 135 # define BIO_R_IN_USE 123 # define BIO_R_KEEPALIVE 109 +# define BIO_R_LISTEN_V6_ONLY 136 # define BIO_R_MALFORMED_HOST_OR_SERVICE 130 # define BIO_R_NBIO_CONNECT_ERROR 110 # define BIO_R_NO_ACCEPT_PORT_SPECIFIED 111 @@ -890,8 +900,12 @@ void ERR_load_BIO_strings(void); # define BIO_R_TAG_MISMATCH 116 # define BIO_R_UNABLE_TO_BIND_SOCKET 117 # define BIO_R_UNABLE_TO_CREATE_SOCKET 118 +# define BIO_R_UNABLE_TO_KEEPALIVE 137 # define BIO_R_UNABLE_TO_LISTEN_SOCKET 119 +# define BIO_R_UNABLE_TO_NODELAY 138 +# define BIO_R_UNABLE_TO_REUSEADDR 139 # define BIO_R_UNINITIALIZED 120 +# define BIO_R_UNKNOWN_INFO_TYPE 140 # define BIO_R_UNSUPPORTED_METHOD 121 # define BIO_R_UNSUPPORTED_PROTOCOL_FAMILY 131 # define BIO_R_WRITE_TO_READ_ONLY_BIO 126 diff --git a/util/libeay.num b/util/libeay.num index e2e0564c4d..c59581ce4f 100755 --- a/util/libeay.num +++ b/util/libeay.num @@ -46,7 +46,7 @@ BF_options 45 1_1_0 EXIST::FUNCTION:BF BF_set_key 46 1_1_0 EXIST::FUNCTION:BF BIO_CONNECT_free 47 1_1_0 NOEXIST::FUNCTION: BIO_CONNECT_new 48 1_1_0 NOEXIST::FUNCTION: -BIO_accept 51 1_1_0 EXIST::FUNCTION: +BIO_accept 51 1_1_0 EXIST::FUNCTION:DEPRECATEDIN_1_1_0 BIO_ctrl 52 1_1_0 EXIST::FUNCTION: BIO_int_ctrl 53 1_1_0 EXIST::FUNCTION: BIO_debug_callback 54 1_1_0 EXIST::FUNCTION: @@ -63,13 +63,13 @@ BIO_fd_should_retry 64 1_1_0 EXIST::FUNCTION: BIO_find_type 65 1_1_0 EXIST::FUNCTION: BIO_free 66 1_1_0 EXIST::FUNCTION: BIO_free_all 67 1_1_0 EXIST::FUNCTION: -BIO_get_accept_socket 69 1_1_0 EXIST::FUNCTION: +BIO_get_accept_socket 69 1_1_0 EXIST::FUNCTION:DEPRECATEDIN_1_1_0 BIO_get_filter_bio 70 1_1_0 NOEXIST::FUNCTION: -BIO_get_host_ip 71 1_1_0 EXIST::FUNCTION: -BIO_get_port 72 1_1_0 EXIST::FUNCTION: +BIO_get_host_ip 71 1_1_0 EXIST::FUNCTION:DEPRECATEDIN_1_1_0 +BIO_get_port 72 1_1_0 EXIST::FUNCTION:DEPRECATEDIN_1_1_0 BIO_get_retry_BIO 73 1_1_0 EXIST::FUNCTION: BIO_get_retry_reason 74 1_1_0 EXIST::FUNCTION: -BIO_gethostbyname 75 1_1_0 EXIST::FUNCTION: +BIO_gethostbyname 75 1_1_0 EXIST::FUNCTION:DEPRECATEDIN_1_1_0 BIO_gets 76 1_1_0 EXIST::FUNCTION: BIO_new 78 1_1_0 EXIST::FUNCTION: BIO_new_accept 79 1_1_0 EXIST::FUNCTION: @@ -4789,3 +4789,9 @@ BIO_ADDR_new 5183 1_1_0 EXIST::FUNCTION: BIO_ADDR_rawmake 5184 1_1_0 EXIST::FUNCTION: BIO_ADDRINFO_free 5185 1_1_0 EXIST::FUNCTION: BIO_parse_hostserv 5186 1_1_0 EXIST::FUNCTION: +BIO_accept_ex 5187 1_1_0 EXIST::FUNCTION: +BIO_connect 5188 1_1_0 EXIST::FUNCTION: +BIO_closesocket 5189 1_1_0 EXIST::FUNCTION: +BIO_sock_info 5190 1_1_0 EXIST::FUNCTION: +BIO_socket 5191 1_1_0 EXIST::FUNCTION: +BIO_listen 5192 1_1_0 EXIST::FUNCTION: |