[gnutls-devel] gnutls-cli --dane vs --port names

Nikos Mavrogiannopoulos nmav at gnutls.org
Sun Mar 10 10:45:57 CET 2013

On 03/09/2013 02:43 AM, James Cloos wrote:

> I just noticed that, when gnutls-cli is called with --dane and --port,
> using a port name rather than a port number, even though it resolves
> the port to a number for the socket, it fails to snprintf(3) that for
> creating the tlsa lookup.
> Eg, <gnutls-cli --port 465 --dane mx.example.org> works find, but the
> equivilent <gnutls-cli --port smtps --dane mx.example.org> fails.

Indeed there is an issue there. I've committed a fix in the repository.
Thank you for reporting that.


More information about the Gnutls-devel mailing list