[#SSL_CTX_set1_compressed_cert] = SSL_CTX_set1_compressed_cert :mrdocs: Install a pre‐compressed certificate blob on a server SSL context. == Synopsis Declared in `<openssl/ssl.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int SSL_CTX_set1_compressed_cert( xref:SSL_CTX.adoc[SSL_CTX]* ctx, int algorithm, unsigned char* comp_data, size_t comp_length, size_t orig_length); ---- == Return Value 1 on success, or 0 on failure (including when `ctx` is a client context). == Parameters [cols="1,4"] |=== | Name| Description | *ctx* | Server SSL context that will send the compressed certificate. | *algorithm* | Certificate compression algorithm identifier. | *comp_data* | Compressed certificate bytes (copied into `ctx).` | *comp_length* | Length of `comp_data` in bytes. | *orig_length* | Uncompressed certificate length in bytes. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#