diff options
author | John Hughes <john@atlantech.com> | 2018-02-08 10:49:02 +0100 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2018-02-19 22:58:37 +0100 |
commit | ebc0168384e9bbc29c02b85adb01036609769761 (patch) | |
tree | 814c7f6055f18083478168d89578f6e3900c0895 /crypto/bio/bio_err.c | |
parent | b383aa2081467e8d49c3362d295da7bd5cb4e1d8 (diff) |
Add BIO_bind function to bind local address for a socket.
Add -bind option to s_client application to allow specification of
local address for connection.
Reviewed-by: Andy Polyakov <appro@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/5272)
Diffstat (limited to 'crypto/bio/bio_err.c')
-rw-r--r-- | crypto/bio/bio_err.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/bio/bio_err.c b/crypto/bio/bio_err.c index 20f3aa14f8..594013dd98 100644 --- a/crypto/bio/bio_err.c +++ b/crypto/bio/bio_err.c @@ -19,6 +19,7 @@ static const ERR_STRING_DATA BIO_str_functs[] = { {ERR_PACK(ERR_LIB_BIO, BIO_F_BIO_ACCEPT, 0), "BIO_accept"}, {ERR_PACK(ERR_LIB_BIO, BIO_F_BIO_ACCEPT_EX, 0), "BIO_accept_ex"}, {ERR_PACK(ERR_LIB_BIO, BIO_F_BIO_ADDR_NEW, 0), "BIO_ADDR_new"}, + {ERR_PACK(ERR_LIB_BIO, BIO_F_BIO_BIND, 0), "BIO_bind"}, {ERR_PACK(ERR_LIB_BIO, BIO_F_BIO_CALLBACK_CTRL, 0), "BIO_callback_ctrl"}, {ERR_PACK(ERR_LIB_BIO, BIO_F_BIO_CONNECT, 0), "BIO_connect"}, {ERR_PACK(ERR_LIB_BIO, BIO_F_BIO_CTRL, 0), "BIO_ctrl"}, |