[gnutls-devel] GnuTLS | gnutls_init: added flag for automatic re-authentication (!766)
Development of GNU's TLS library
gnutls-devel at lists.gnutls.org
Tue Oct 16 09:05:42 CEST 2018
Nikos Mavrogiannopoulos commented on a discussion on lib/auth/cert.c:
> * use it and leave. We make sure that this is called once.
> */
> if (cred->get_cert_callback3) {
> -
> if (session->internals.selected_cert_list_length == 0) {
> ret = call_get_cert_callback(session, NULL, 0, NULL, 0);
> if (ret < 0)
> return gnutls_assert_val(ret);
>
> + if (session->internals.selected_cert_list_length == 0)
> + return gnutls_assert_val(GNUTLS_E_INSUFFICIENT_CREDENTIALS);
> +
Nice catch. Fixed.
--
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/merge_requests/766#note_109026233
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/20181016/93295bb8/attachment.html>
More information about the Gnutls-devel
mailing list