opensssl 1.1.1g test failure(s)
Kurt Roeckx
kurt at roeckx.be
Tue Apr 21 22:25:28 UTC 2020
On Tue, Apr 21, 2020 at 10:49:25PM +0100, Matt Caswell wrote:
>
> Looks like the failing call is here:
>
> if (setsockopt(sock, IPPROTO_IPV6, IPV6_V6ONLY,
> (const void *)&on, sizeof(on)) != 0) {
>
> To which we get an errno indicating "Invalid argument". So it looks like
> your host has the relevant IPV6 macros defined (otherwise we would have
> got a compilation failure) - but doesn't understand them when used.
OpenBSD is really weird in this regard. They always use the
behavior of IPV6_V6ONLY set to on. But if you actually try to set
it on, they return an error. They should instead return an error
when you try to set it off.
Kurt
More information about the openssl-users
mailing list