DH_set_ex_data

Store application data on a DH object at a CRYPTO_EX index (deprecated).

Synopsis

Declared in <openssl/dh.h>

[[deprecated]]
int
DH_set_ex_data(
    DH* d,
    int idx,
    void* arg);

WARNING

Deprecated. Use of this entity is allowed but discouraged.

Return Value

1 on success, or 0 on failure.

Parameters

NameDescription
dDH object to update.
idxIndex from DH_get_ex_new_index().
argApplication pointer to store (may be NULL).