Allocate a custom DH_METHOD with a duplicated name (deprecated).

Synopsis

Declared in <openssl/dh.h>

[[deprecated]]
DH_METHOD*
DH_meth_new(
    char const* name,
    int flags);
Warning

Deprecated. Use of this entity is allowed but discouraged.

Return Value

New DH_METHOD, or NULL on failure; free with DH_meth_free().

Parameters

Name

Description

name

Display name copied into the method object.

flags

Initial DH_METHOD flag bits.

Created with MrDocs