[gnutls-devel] GnuTLS | OpenSSL IPv6 PSK Incompatibility (#683)

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Thu Jan 24 16:51:31 CET 2019


> RFC 6066 says: Literal IPv4 and IPv6 addresses are not permitted in "HostName".

The checking code is
```
if (!(c_isalnum(str[i]) || str[i] == '-' || str[i] == '.'))
    return 0;
```

So IPv4 addresses are accepted. Just IPv6 not because they contain colons which are forbidden in DNS names.

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/issues/683#note_134613679
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20190124/3080b4b9/attachment.html>


More information about the Gnutls-devel mailing list