SSL_SESSION_get_compress_id.3ssl - Man Page

get details about the compression associated with a session

Synopsis

 #include <openssl/ssl.h>

 unsigned int SSL_SESSION_get_compress_id(const SSL_SESSION *s);

Description

If compression has been negotiated for an ssl session then SSL_SESSION_get_compress_id() will return the id for the compression method or 0 otherwise. The only built-in supported compression method is zlib which has an id of 1.

Return Values

SSL_SESSION_get_compress_id() returns the id of the compression method or 0 if none.

See Also

ssl(7)

Info

2020-07-28 1.1.1g OpenSSL