Allocator callback type used by CRYPTO_set_mem_functions().

Synopsis

Declared in <openssl/crypto.h>

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

Return Value

Newly allocated memory, or NULL on failure.

Parameters

Name

Description

num

Number of bytes to allocate.

file

Source file recorded with the allocation.

line

Source line recorded with the allocation.

Created with MrDocs