DH_meth_set1_name

Replace the display name stored on a DH_METHOD (deprecated).

Synopsis

Declared in <openssl/dh.h>

[[deprecated]]
int
DH_meth_set1_name(
    DH_METHOD* dhm,
    char const* name);

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.
nameNUL-terminated name that is duplicated into dhm; the caller retains name.