OpenBSD manual page server

Manual Page Search Parameters

SSL_COMP_ADD_COMPRESSION_METHOD(3) Library Functions Manual SSL_COMP_ADD_COMPRESSION_METHOD(3)

SSL_COMP_add_compression_method, SSL_COMP_get_compression_methodshandle SSL/TLS integrated compression methods

#include <openssl/ssl.h>

int
SSL_COMP_add_compression_method(int id, COMP_METHOD *cm);

STACK_OF(SSL_COMP) *
SSL_COMP_get_compression_methods(void);

These functions are deprecated and have no effect. They are provided purely for compatibility with legacy application code.

SSL_COMP_add_compression_method() used to add the compression method cm with the identifier id to the list of available compression methods.

SSL_COMP_get_compression_methods() used to return a stack of available compression methods.

SSL_COMP_add_compression_method() always returns 1. SSL_COMP_get_compression_methods() always returns NULL.

ssl(3)

SSL_COMP_add_compression_method() first appeared in OpenSSL 0.9.2b and has been available since OpenBSD 2.6.

SSL_COMP_get_compression_methods() first appeared in OpenSSL 0.9.8 and has been available since OpenBSD 4.5.

June 12, 2019 OpenBSD-current