summaryrefslogtreecommitdiff
path: root/src/lib/libssl/d1_lib.c
diff options
context:
space:
mode:
authorreyk <>2015-02-09 09:23:39 +0000
committerreyk <>2015-02-09 09:23:39 +0000
commit157b832965c968aac98859f2f0bc3494c13ef7ef (patch)
tree286e7d2e6be1a2a638c4d5b3c7070a8b70adf66a /src/lib/libssl/d1_lib.c
parentc1f670c471e829ef687e5148edca56ef2101455f (diff)
downloadopenbsd-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_lib.c')
0 files changed, 0 insertions, 0 deletions