CRYPTO_get_mem_functions

Retrieve the process-wide CRYPTO memory allocator callbacks currently installed.

Synopsis

Declared in <openssl/crypto.h>

void
CRYPTO_get_mem_functions(
    CRYPTO_malloc_fn* malloc_fn,
    CRYPTO_realloc_fn* realloc_fn,
    CRYPTO_free_fn* free_fn);

Parameters

NameDescription
malloc_fnReceives the malloc callback, or may be NULL.
realloc_fnReceives the realloc callback, or may be NULL.
free_fnReceives the free callback, or may be NULL.