[#CRYPTO_secure_allocated]
= CRYPTO&lowbar;secure&lowbar;allocated
:mrdocs:

Report whether `ptr` was allocated from the OpenSSL secure heap&period;

== Synopsis

Declared in `&lt;openssl&sol;crypto&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
CRYPTO&lowbar;secure&lowbar;allocated(void const* ptr);
----

== Return Value

1 if `ptr` is a secure&hyphen;heap allocation, or 0 otherwise&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *ptr*
| Pointer to test&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
