[gnutls-devel] GnuTLS | support non-NULL-terminated PSKs (!917)

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Thu Oct 24 16:10:51 CEST 2019




Nikos Mavrogiannopoulos started a new discussion on lib/ext/pre_shared_key.h: https://gitlab.com/gnutls/gnutls/merge_requests/917#note_235095755

>  inline static
>  unsigned _gnutls_have_psk_credentials(const gnutls_psk_client_credentials_t cred, gnutls_session_t session)
>  {
> -	if ((cred->get_function || cred->username.data) && session->internals.priorities->have_psk)

This change seems to have no effect, and it kind of makes the code inconsistent.

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/merge_requests/917#note_235095755
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/20191024/53603519/attachment.html>


More information about the Gnutls-devel mailing list