Register a cleanup callback invoked from OSSL_ENCODER_CTX_free().
Synopsis
Declared in <openssl/encoder.h>
int
OSSL_ENCODER_CTX_set_cleanup(
OSSL_ENCODER_CTX* ctx,
OSSL_ENCODER_CLEANUP* cleanup);
Return Value
1 on success, or 0 on failure.
Parameters
Name |
Description |
ctx |
Encoder context to configure. |
cleanup |
Callback that frees construct data, or NULL to clear. |
Created with MrDocs