FWIW, I extended the self-test to check the situation you describe, and
as far as I can tell it appears to do the right thing.  Code in:

http://git.savannah.gnu.org/cgit/gnutls.git/diff/tests/hostname-check.c
http://git.savannah.gnu.org/cgit/gnutls.git/diff/tests/utils.c

Compile as
gcc -o hostname-check hostname-check.c -lgnutls utils.c

Expected output is

...
Testing pem9...
Hostname correctly does not match (0)
Hostname correctly matches (1)
...

/Simon


_______________________________________________
Help-gnutls mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-gnutls

Reply via email to