[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:53 CET 2018


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

>  	switch (type) {
> -	case GNUTLS_CRT_X509:
> -		return gnutls_pcert_import_x509_raw(pcert,
> -						    &info->
> -						    raw_certificate_list
> -						    [0],
> -						    GNUTLS_X509_FMT_DER,
> -						    GNUTLS_PCERT_NO_CERT);
> -	default:
> -		gnutls_assert();
> -		return GNUTLS_E_INTERNAL_ERROR;
> +		case GNUTLS_CRT_X509:
> +			return gnutls_pcert_import_x509_raw(pcert,
> +							&info->raw_certificate_list[0],
> +							GNUTLS_X509_FMT_DER,
> +							GNUTLS_PCERT_NO_CERT); // REMARK: this last param is not used.

Indeed its use seems to be have been phased out. I've opened #624 to handle it. The remark shouldn't be in the final code.

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


More information about the Gnutls-devel mailing list