Allocate num bytes using the installed CRYPTO malloc callback.

Synopsis

Declared in <openssl/crypto.h>

void*
CRYPTO_malloc(
    size_t num,
    char const* file,
    int line);

Return Value

Newly allocated memory, or NULL on failure.

Parameters

Name

Description

num

Number of bytes to allocate.

file

Source file for tracking (usually OPENSSL_FILE).

line

Source line for tracking (usually OPENSSL_LINE).

Created with MrDocs