CRYPTO_realloc_fn

Reallocator callback type used by CRYPTO_set_mem_functions().

Synopsis

Declared in <openssl/crypto.h>

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

Return Value

Resized memory, or NULL on failure.

Parameters

NameDescription
addrExisting allocation to resize, or NULL to allocate.
numDesired new size in bytes.
fileSource file recorded with the (re)allocation.
lineSource line recorded with the (re)allocation.