[#SSL_CTX_set1_cert_comp_preference] = SSL_CTX_set1_cert_comp_preference :mrdocs: Set the preferred TLSv1.3 certificate compression algorithms for an SSL context (RFC 8879). == Synopsis Declared in `<openssl/ssl.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int SSL_CTX_set1_cert_comp_preference( xref:SSL_CTX.adoc[SSL_CTX]* ctx, int* algs, size_t len); ---- == Return Value 1 on success, or 0 on failure (preference list left unchanged on error). == Parameters [cols="1,4"] |=== | Name| Description | *ctx* | SSL context whose preference list is replaced. | *algs* | Array of TLSEXT_comp_cert_* algorithm identifiers in preference order. | *len* | Size of `algs` in bytes (not element count). |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#