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

Name

Description

dhm

Method object to update.

app_data

Caller‐owned pointer stored on the method (may be NULL).

Created with MrDocs