[gnutls-devel] GnuTLS | RFC7250 Raw public keys (!650)

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Tue Nov 20 13:52:52 CET 2018


Nikos Mavrogiannopoulos started a new discussion on lib/state.c:

>  	// No explicit priorities set, and default ctype is asked
>  	if (ctype_priorities->num_priorities == 0
>  	    && cert_type == DEFAULT_CERT_TYPE)
> -		return 0; // ok
> +		return GNUTLS_E_SUCCESS;
>  
>  	/* Now lets find out whether our cert type is in our priority
>  	 * list, i.e. set of allowed cert types.
>  	 */
>  	for (i = 0; i < ctype_priorities->num_priorities; i++) {
>  		if (ctype_priorities->priorities[i] == cert_type)
> -			return 0;	/* ok */
> +			return GNUTLS_E_SUCCESS;

same here

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/merge_requests/650#note_118714484
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/20181120/ed7bd92c/attachment.html>


More information about the Gnutls-devel mailing list