[#CRYPTO_THREAD_cleanup_local]
= CRYPTO&lowbar;THREAD&lowbar;cleanup&lowbar;local
:mrdocs:

Destroy a thread&hyphen;local key previously created with CRYPTO&lowbar;THREAD&lowbar;init&lowbar;local()&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
CRYPTO&lowbar;THREAD&lowbar;cleanup&lowbar;local(xref:CRYPTO_THREAD_LOCAL.adoc[CRYPTO&lowbar;THREAD&lowbar;LOCAL]* key);
----

== Return Value

1 on success, or 0 on failure&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *key*
| Key to clean up (invalid after success)&period;
|===


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