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

James Cloos cloos at jhcloos.com
Sat Mar 9 02:43:56 CET 2013


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.

The connect(2) of course works fine, only the tlsa lookup is affected.

-JimC
-- 
James Cloos <cloos at jhcloos.com>         OpenPGP: 1024D/ED7DAEA6



More information about the Gnutls-devel mailing list