dyn_MEM_malloc_fn

Allocator callback supplied by the loading application to a dynamic ENGINE.

Synopsis

Declared in <openssl/engine.h>

typedef void*(* dyn_MEM_malloc_fn)(size_t, char const*, int);

Return Value

Allocated memory, or NULL on failure.

Parameters

NameDescription
numNumber of bytes to allocate.
fileSource file name for leak tracking, or NULL.
lineSource line for leak tracking.