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

Name

Description

malloc_fn

Receives the malloc callback, or may be NULL.

realloc_fn

Receives the realloc callback, or may be NULL.

free_fn

Receives the free callback, or may be NULL.

Created with MrDocs