Add BIO_bind function to bind local address for a socket.
authorJohn Hughes <john@atlantech.com>
Thu, 8 Feb 2018 09:49:02 +0000 (10:49 +0100)
committerAndy Polyakov <appro@openssl.org>
Mon, 19 Feb 2018 21:58:37 +0000 (22:58 +0100)
commitebc0168384e9bbc29c02b85adb01036609769761
tree814c7f6055f18083478168d89578f6e3900c0895
parentb383aa2081467e8d49c3362d295da7bd5cb4e1d8
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)
apps/s_apps.h
apps/s_client.c
apps/s_socket.c
crypto/bio/b_sock2.c
crypto/bio/bio_err.c
crypto/err/openssl.txt
doc/man1/s_client.pod
doc/man3/BIO_connect.pod
include/openssl/bio.h
include/openssl/bioerr.h
util/libcrypto.num