Walk over all results from getaddrinfo() instead of giving up after the
authorclaudio <claudio@openbsd.org>
Tue, 9 Feb 2021 16:55:51 +0000 (16:55 +0000)
committerclaudio <claudio@openbsd.org>
Tue, 9 Feb 2021 16:55:51 +0000 (16:55 +0000)
commitf30c50a23946819c766bded70555611e4ee7c46f
treea3da021c27ffc1d7977cd4439e70d1a9840d6977
parent199146e301772b99c467e07d5e0712c774a317a5
Walk over all results from getaddrinfo() instead of giving up after the
first entry. This way ocspcheck will try all returned IPs to contact
the OCSP server. Found by the regress test and a resolv.conf file with
'family inet6 inet4'.
OK kn@ deraadt@
usr.sbin/ocspcheck/ocspcheck.c