SSL_CTX_compress_certs

Pre-compress all certificates configured on a server SSL_CTX with algorithm alg.

Synopsis

Declared in <openssl/ssl.h>

int
SSL_CTX_compress_certs(
    SSL_CTX* ctx,
    int alg);

Return Value

1 on success, or 0 on failure (including when ctx is a client context).

Parameters

NameDescription
ctxServer SSL context whose certificates are compressed.
algCompression algorithm identifier, or 0 to use each algorithm in the preference list.