diff options
author | reyk <> | 2015-02-09 09:23:39 +0000 |
---|---|---|
committer | reyk <> | 2015-02-09 09:23:39 +0000 |
commit | 157b832965c968aac98859f2f0bc3494c13ef7ef (patch) | |
tree | 286e7d2e6be1a2a638c4d5b3c7070a8b70adf66a /src/lib/libssl/d1_both.c | |
parent | c1f670c471e829ef687e5148edca56ef2101455f (diff) | |
download | openbsd-157b832965c968aac98859f2f0bc3494c13ef7ef.tar.gz openbsd-157b832965c968aac98859f2f0bc3494c13ef7ef.tar.bz2 openbsd-157b832965c968aac98859f2f0bc3494c13ef7ef.zip |
When parsing the host in tls_connect(), first check if it is a numeric
IPv4 or IPv6 address before trying to resolve the address with the
AI_ADDRCONFIG flag set. This makes sure that attempts to connect to
numeric IPs or loopback addresses are always possible and not
prevented by AI_ADDRCONFIG.
OK jsing@ tedu@
Diffstat (limited to 'src/lib/libssl/d1_both.c')
0 files changed, 0 insertions, 0 deletions