[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:05:17 CET 2019


Nikos Mavrogiannopoulos started a new discussion on lib/auth/psk.h:

>  	/* callback function, instead of reading the
>  	 * password files.
>  	 */
> -	gnutls_psk_server_credentials_function *pwd_callback;
> +	union {
> +		gnutls_psk_server_credentials_function *cb1;

What about using a single callback here, and wrap any old callback set with the new? (i.e., similarly to how `gnutls_certificate_set_retrieve_function2()` works)

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


More information about the Gnutls-devel mailing list