[gnutls-devel] GnuTLS | gnutls_init: added flag for automatic re-authentication (!766)

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Mon Oct 15 16:26:13 CEST 2018


Daiki Ueno started a new 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);
> +

r+, except that the commit message has a typo in the first line (s/an/and/).

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/merge_requests/766#note_108862114
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/20181015/7b5f6559/attachment-0001.html>


More information about the Gnutls-devel mailing list