diff options
author | Daiki Ueno <dueno@redhat.com> | 2021-07-08 19:22:36 +0200 |
---|---|---|
committer | Dmitry Belyavskiy <beldmit@gmail.com> | 2021-07-10 17:59:00 +0200 |
commit | 15729bef385211bc2a0497e2d53a45c45d677d2c (patch) | |
tree | 8ca87e820aabc6173449c2d98743530f39c50c0c /apps | |
parent | 6bfd3e51c04faa97ed98f38e35bd9bb5294b9070 (diff) |
BIO_lookup_ex: use AI_ADDRCONFIG only if explicit host name is given
The flag only affects which record types are queried via DNS (A or
AAAA, or both). When node is NULL and AF_UNSPEC is used, it prevents
getaddrinfo returning the right address associated with the loopback
interface.
Signed-off-by: Daiki Ueno <dueno@redhat.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
(Merged from https://github.com/openssl/openssl/pull/16033)
Diffstat (limited to 'apps')
0 files changed, 0 insertions, 0 deletions