[gnutls-devel] GnuTLS | support non-NULL-terminated PSKs (!917)
Development of GNU's TLS library
gnutls-devel at lists.gnutls.org
Wed Jan 8 20:15:31 CET 2020
Ander Juaristi commented on a discussion on lib/psk.c: https://gitlab.com/gnutls/gnutls/merge_requests/917#note_268805993
> if (info == NULL)
> return NULL;
>
> - if (info->username[0] != 0)
> + if (info->username[0] != 0 && !_gnutls_has_embedded_null(info->username, info->username_len))
Yes. See: https://gitlab.com/gnutls/gnutls/blob/ajuaristi-issue-586/lib/auth/psk.h#L76
--
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/merge_requests/917#note_268805993
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/20200108/64583615/attachment.html>
More information about the Gnutls-devel
mailing list