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 /apps/s_apps.h | |
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 'apps/s_apps.h')
-rw-r--r-- | apps/s_apps.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/s_apps.h b/apps/s_apps.h index 6ee2b0c8ca..fbffd86e71 100644 --- a/apps/s_apps.h +++ b/apps/s_apps.h @@ -38,6 +38,7 @@ int ssl_print_groups(BIO *out, SSL *s, int noshared); #endif int ssl_print_tmp_key(BIO *out, SSL *s); int init_client(int *sock, const char *host, const char *port, + const char *bindhost, const char *bindport, int family, int type, int protocol); int should_retry(int i); |