Reallocator callback type used by CRYPTO_set_mem_functions().
Declared in <openssl/crypto.h>
typedef void*(* CRYPTO_realloc_fn)(void*, size_t, char const*, int);
Resized memory, or NULL on failure.
| 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. |