[#SSL_COMP_set0_compression_methods] = SSL_COMP_set0_compression_methods :mrdocs: Replace the global stack of SSL/TLS compression methods, transferring ownership of `meths.` == Synopsis Declared in `<openssl/ssl.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:stack_st_SSL_COMP.adoc[stack_st_SSL_COMP]* SSL_COMP_set0_compression_methods(xref:stack_st_SSL_COMP.adoc[stack_st_SSL_COMP]* meths); ---- == Return Value Previous compression‐method stack (caller may free), or NULL if none was set. == Parameters [cols="1,4"] |=== | Name| Description | *meths* | New STACK_OF(SSL_COMP) to install, or NULL to clear. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#