Store val at ex_data index idx, replacing any previous pointer.
Declared in <openssl/crypto.h>
int
CRYPTO_set_ex_data(
CRYPTO_EX_DATA* ad,
int idx,
void* val);
1 on success, or 0 on failure.
| Name | Description |
|---|---|
| ad | Ex-data bag to update. |
| idx | Index from CRYPTO_get_ex_new_index() (or a class helper). |
| val | Pointer to store (may be NULL to clear the slot). |