[#SSL_CTX_set_ex_data] = SSL_CTX_set_ex_data :mrdocs: Store application‐specific data on an SSL_CTX at a previously allocated index. == Synopsis Declared in `<openssl/ssl.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int SSL_CTX_set_ex_data( xref:SSL_CTX.adoc[SSL_CTX]* ssl, int idx, void* data); ---- == Return Value 1 on success, or 0 on failure. == Parameters [cols="1,4"] |=== | Name| Description | *ssl* | SSL context that owns the ex_data table. | *idx* | Index from SSL_CTX_get_ex_new_index() (or CRYPTO_get_ex_new_index). | *data* | Pointer to store; ownership remains with the caller unless freef was configured. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#