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

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Tue Nov 27 16:06:35 CET 2018


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

>  			 * when we cannot find a matching client certificate. This is conform
>  			 * spec (RFC7250, 4.2 case 2.).
>  			 */
> -			cert_type =
> -					_gnutls_cert_type2IANA(session->
> -							security_parameters.client_ctype);
> +			ret =	_gnutls_cert_type2IANA(_gnutls_certificate_type_get2(
> +						session, GNUTLS_CTYPE_CLIENT));
> +
> +			if (ret < 0)
> +				return gnutls_assert_val(ret);
> +
> +			cert_type = ret; // For readability
>  
> +			// Add cert type to msg buffer

unnecessary comment

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


More information about the Gnutls-devel mailing list