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

Name

Description

addr

Existing allocation to resize, or NULL to allocate.

num

Desired new size in bytes.

file

Source file recorded with the (re)allocation.

line

Source line recorded with the (re)allocation.

Created with MrDocs