diff options
author | Matt Caswell <matt@openssl.org> | 2017-04-20 10:51:55 +0200 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2017-04-25 12:13:39 +0200 |
commit | 5114d8227e0516fffc0c8653f5118290709f6494 (patch) | |
tree | e5626dd44bfe76607fc068314b7dc12fa977b780 /util | |
parent | Fix typo in OPENSSL_LH_new compat API (diff) | |
download | openssl-5114d8227e0516fffc0c8653f5118290709f6494.tar.xz openssl-5114d8227e0516fffc0c8653f5118290709f6494.zip |
Add a BIO_lookup_ex() function
The existing BIO_lookup() wraps a call to getaddrinfo and provides an
abstracted capability to lookup addresses based on socket type and family.
However it provides no ability to lookup based on protocol. Normally,
when dealing with TCP/UDP this is not required. However getaddrinfo (at
least on linux) never returns SCTP addresses unless you specifically ask
for them in the protocol field. Therefore BIO_lookup_ex() is added which
provides the protocol field.
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3286)
Diffstat (limited to 'util')
-rw-r--r-- | util/libcrypto.num | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/util/libcrypto.num b/util/libcrypto.num index 725e075403..14c4c6a0d1 100644 --- a/util/libcrypto.num +++ b/util/libcrypto.num @@ -4271,3 +4271,4 @@ UINT32_it 4214 1_1_0f EXIST:EXPORT_VAR_AS_FUNCTION ZINT64_it 4215 1_1_0f EXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE: ZINT64_it 4215 1_1_0f EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION: CRYPTO_mem_leaks_cb 4216 1_1_1 EXIST::FUNCTION:CRYPTO_MDEBUG +BIO_lookup_ex 4217 1_1_1 EXIST::FUNCTION:SOCK |