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

Name

Description

dhm

Method object to update.

name

NUL‐terminated name that is duplicated into dhm; the caller retains name.

Created with MrDocs