[gnutls-devel] GnuTLS | support non-NULL-terminated PSKs (!917)
Development of GNU's TLS library
gnutls-devel at lists.gnutls.org
Fri May 24 20:26:04 CEST 2019
Ander Juaristi commented on a discussion on lib/psk.c: https://gitlab.com/gnutls/gnutls/merge_requests/917#note_174345898
> + * The callback function should return 0 on success.
> + * -1 indicates an error.
> + **/
> +void
> +gnutls_psk_set_client_credentials_function2(gnutls_psk_client_credentials_t cred,
> + gnutls_psk_client_credentials_function2 *func)
> +{
> + cred->get_function.cb2 = func;
> + cred->function_in_use = 2;
> +}
> +
> +
> +static int
> +username_has_embedded_nulls(psk_auth_info_t info)
> +{
> + for (uint16_t i = 0; i < info->len; i++) {
Where is it defined? I can't find it.
--
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/merge_requests/917#note_174345898
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/20190524/91be9e1b/attachment.html>
More information about the Gnutls-devel
mailing list