Report whether ptr was allocated from the OpenSSL secure heap.

Synopsis

Declared in <openssl/crypto.h>

int
CRYPTO_secure_allocated(void const* ptr);

Return Value

1 if ptr is a secure‐heap allocation, or 0 otherwise.

Parameters

Name

Description

ptr

Pointer to test.

Created with MrDocs