Re: ocspcheck try all returned addresses from getaddrinfo

2021-02-09 Thread Klemens Nanni
On Tue, Feb 09, 2021 at 10:54:39AM +0100, Claudio Jeker wrote: > Running regress/usr.sbin/ocspcheck with a resolv.conf that has > 'family inet6 inet4' fails because ocspcheck only tries to contact ::1. > The following diff fixes the issue by not breaking out early from the > getaddrinfo loop over t

ocspcheck try all returned addresses from getaddrinfo

2021-02-09 Thread Claudio Jeker
Running regress/usr.sbin/ocspcheck with a resolv.conf that has 'family inet6 inet4' fails because ocspcheck only tries to contact ::1. The following diff fixes the issue by not breaking out early from the getaddrinfo loop over the results. With this the regress test works and I guess it may help in