[#CRYPTO_THREAD_cleanup_local] = CRYPTO_THREAD_cleanup_local :mrdocs: Destroy a thread‐local key previously created with CRYPTO_THREAD_init_local(). == Synopsis Declared in `<openssl/crypto.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int CRYPTO_THREAD_cleanup_local(xref:CRYPTO_THREAD_LOCAL.adoc[CRYPTO_THREAD_LOCAL]* key); ---- == Return Value 1 on success, or 0 on failure. == Parameters [cols="1,4"] |=== | Name| Description | *key* | Key to clean up (invalid after success). |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#