OpenBSD 4.4 gnutls-serv IPv6 Only Bug

Peter Hendrickson pdh at
Thu Apr 30 19:59:44 CEST 2009

Simon Josefsson wrote:
> > When bind() is called in listen_socket(), it is given two "res->"
> > arguments, but it should be two "ptr->" arguments.  Otherwise it
> > doesn't move to ptr->ai_next the second time through the for loop.
> Oops.  Thanks, committed, please try the next daily snapshot.

I'm not seeing the fix in the 20090430 snapshot.  I assume it will
show up in tomorrow's snapshot.

> Yes, this is the case.  I'm wondering what the best way to handle
> this is though.  Should we just display the error above?  It seems
> confusing to users.  How are servers in general expected to handle
> such errors?

I think it's okay.  This is just a testing tool and everybody using it
is (probably) a developer.  The call to bind is not even closely
related to TLS, it's just where the underlying socket is established.


More information about the Gnutls-devel mailing list