[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:12:06 CET 2022




Zoltán Fridrich commented on a discussion on lib/ext/compress_certificate.c: https://gitlab.com/gnutls/gnutls/-/merge_requests/1678#note_1201548697

>  	}
>  }
>  
> +/* 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);

I don't get why you are asking this question.

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


More information about the Gnutls-devel mailing list