---
name: "libressl-SSL_COMP_add_compression_method"
section: "3"
platform: "linux"
package: "libressl"
version: "4.4.0-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/libressl-SSL_COMP_add_compression_method"
---

# libressl-SSL\_COMP\_add\_compression\_method(3)

handle SSL/TLS integrated compression methods

## NAME

**SSL\_COMP\_get\_compression\_methods** – handle SSL/TLS integrated compression methods

## SYNOPSIS

SSL Library (libssl, -lssl) libcrypto

**#include \<openssl/ssl.h\>**

*STACK\_OF(SSL\_COMP)* *\**\

**SSL\_COMP\_get\_compression\_methods**(*void*);

## DESCRIPTION

This function is deprecated and has no effect. It is provided purely for compatibility with legacy application code.

**SSL\_COMP\_get\_compression\_methods**() used to return a stack of available compression methods.

## RETURN VALUES

**SSL\_COMP\_get\_compression\_methods**() always returns NULL.

## SEE ALSO

[ssl(3)](/ssl/3.md)

## HISTORY

**SSL\_COMP\_get\_compression\_methods**() first appeared in OpenSSL 0.9.8 and has been available since OpenBSD 4.5.
