Select the DH_METHOD used for operations on dh (deprecated).

Synopsis

Declared in <openssl/dh.h>

[[deprecated]]
int
DH_set_method(
    DH* dh,
    DH_METHOD const* meth);
Warning

Deprecated. Use of this entity is allowed but discouraged.

Return Value

Non‐zero on success.

Parameters

Name

Description

dh

DH object whose method is replaced.

meth

Method implementation to attach; releases any prior ENGINE method.

Created with MrDocs