COMP_CTX_new

Create a compression context for the given method.

Synopsis

Declared in <openssl/comp.h>

COMP_CTX*
COMP_CTX_new(COMP_METHOD* meth);

Return Value

New context, or NULL on error.

Parameters

NameDescription
methCompression method to use.