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

Name

Description

d

DH object to update.

idx

Index from DH_get_ex_new_index().

arg

Application pointer to store (may be NULL).

Created with MrDocs