SSL_CTX_get_ex_data

Retrieve application-specific data previously stored on an SSL_CTX.

Synopsis

Declared in <openssl/ssl.h>

void*
SSL_CTX_get_ex_data(
    SSL_CTX const* ssl,
    int idx);

Return Value

Stored pointer, or NULL if unset.

Parameters

NameDescription
sslSSL_CTX that owns the ex_data table.
idxIndex from SSL_CTX_get_ex_new_index().