Allocate num bytes using the installed CRYPTO malloc callback.
Declared in <openssl/crypto.h>
void*
CRYPTO_malloc(
size_t num,
char const* file,
int line);
Newly allocated memory, or NULL on failure.
| Name | Description |
|---|---|
| num | Number of bytes to allocate. |
| file | Source file for tracking (usually OPENSSL_FILE). |
| line | Source line for tracking (usually OPENSSL_LINE). |