BUF_MEM_new

Allocate an empty BUF_MEM with default (non-secure) allocation flags.

Synopsis

Declared in <openssl/buffer.h>

BUF_MEM*
BUF_MEM_new();

Return Value

New zero-length BUF_MEM, or NULL on allocation failure.