Register a compression method globally for all SSL operations in the process.

Synopsis

Declared in <openssl/ssl.h>

int
SSL_COMP_add_compression_method(
    int id,
    COMP_METHOD* cm);

Return Value

1 on success, or 0 on failure.

Parameters

Name

Description

id

Wire identifier advertised for cm (must be unique among enabled methods).

cm

COMP_METHOD implementation to add to the global list.

Created with MrDocs