SSL_COMP_ADD_COMPRESSION_METHOD(3)

NAME
SSL_COMP_add_compression_method, SSL_COMP_get_compression_methods - handle SSL/TLS integrated compression methods

SYNOPSIS
#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);

DESCRIPTION
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.

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