Retrieve the pointer stored at ex_data index idx.

Synopsis

Declared in <openssl/crypto.h>

void*
CRYPTO_get_ex_data(
    CRYPTO_EX_DATA const* ad,
    int idx);

Return Value

Stored pointer, or NULL if unset / out of range.

Parameters

Name

Description

ad

Ex‐data bag to query.

idx

Index from CRYPTO_get_ex_new_index() (or a class helper).

Created with MrDocs