Use the protocol we know rather than BIO_ADDRINFO_protocol(res)
Because some platforms won't will in any value in ai_protocol, there's
no point using it if we already know what it should be.
Reviewed-by: NRich Salz <rsalz@openssl.org>
Showing
想要评论请 注册 或 登录