[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:04:27 CET 2022




Alexander Sosedkin started a new discussion on lib/ext/compress_certificate.c: https://gitlab.com/gnutls/gnutls/-/merge_requests/1678#note_1201537141

>  	}
>  }
>  
> +/* Returns 1 if the method is set as supported compression method for the session,
> + * returns 0 otherwise
> + */
> +int
> +_gnutls_compress_certificate_is_method_enabled(gnutls_session_t session,
> +					       gnutls_compression_method_t method)
> +{
> +	int ret;
> +	unsigned i;
> +	compress_certificate_ext_st *priv;
> +	gnutls_ext_priv_data_t epriv;
> +
> +	ret = _gnutls_hello_ext_get_priv(session, GNUTLS_EXTENSION_COMPRESS_CERTIFICATE, &epriv);

Shouldn't server check CertificateRequest?

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/merge_requests/1678#note_1201537141
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/6bf7d59c/attachment-0001.html>


More information about the Gnutls-devel mailing list