DH_meth_set0_app_data

Attach opaque application data to a DH_METHOD, transferring ownership of the pointer (deprecated).

Synopsis

Declared in <openssl/dh.h>

[[deprecated]]
int
DH_meth_set0_app_data(
    DH_METHOD* dhm,
    void* app_data);

WARNING

Deprecated. Use of this entity is allowed but discouraged.

Return Value

1 on success, or 0 on failure.

Parameters

NameDescription
dhmMethod object to update.
app_dataCaller-owned pointer stored on the method (may be NULL).