[gnutls-devel] GnuTLS | WIP: support non-NULL-terminated PSKs (!917)
Development of GNU's TLS library
gnutls-devel at lists.gnutls.org
Tue Mar 5 09:07:59 CET 2019
Nikos Mavrogiannopoulos started a new discussion on lib/auth/dhe_psk.c:
> /* should never fail. It will always return a key even if it is
> * a random one */
> ret =
> - _gnutls_psk_pwd_find_entry(session, info->username, &psk_key);
> + _gnutls_psk_pwd_find_entry(session, info->username, strlen(info->username), &psk_key);
also here `info->len`?
--
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/merge_requests/917#note_147289030
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/20190305/11e691e6/attachment.html>
More information about the Gnutls-devel
mailing list