[gnutls-devel] GnuTLS | Forbid uncolicited CompressedCertificate messages (!1678)

Read-only notification of GnuTLS library development activities gnutls-devel at lists.gnutls.org
Thu Dec 8 13:26:23 CET 2022




Alexander Sosedkin commented on a discussion on lib/tls13/certificate.c: https://gitlab.com/gnutls/gnutls/-/merge_requests/1678#note_1201577849

>  		return gnutls_assert_val(ret);
>  	comp_method = _gnutls_compress_certificate_num2method(method_num);
>  
> +	if (!_gnutls_compress_certificate_is_method_enabled(session, comp_method))
> +		return gnutls_assert_val(GNUTLS_E_ILLEGAL_PARAMETER);

now other cases like uncompressed_length mismatch are sending decompression_failure

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/merge_requests/1678#note_1201577849
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/20221208/2e4099a6/attachment.html>


More information about the Gnutls-devel mailing list