ENGINE_set_DH

Attach a DH_METHOD implementation to an ENGINE (deprecated).

Synopsis

Declared in <openssl/engine.h>

[[deprecated]]
int
ENGINE_set_DH(
    ENGINE* e,
    DH_METHOD const* dh_meth);

WARNING

Deprecated. Use of this entity is allowed but discouraged.

Return Value

1 on success, or 0 on failure.

Parameters

NameDescription
eENGINE whose DH method pointer is replaced.
dh_methDH method table to use, or NULL to clear.