• M
    Add a BIO_lookup_ex() function · 5114d822
    Matt Caswell 提交于
    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: NRichard Levitte <levitte@openssl.org>
    (Merged from https://github.com/openssl/openssl/pull/3286)
    5114d822
bio.h 38.5 KB