Replace the global stack of SSL/TLS compression methods, transferring ownership of meths.

Synopsis

Declared in <openssl/ssl.h>

stack_st_SSL_COMP*
SSL_COMP_set0_compression_methods(stack_st_SSL_COMP* meths);

Return Value

Previous compression‐method stack (caller may free), or NULL if none was set.

Parameters

Name

Description

meths

New STACK_OF(SSL_COMP) to install, or NULL to clear.

Created with MrDocs