Allocate a custom DH_METHOD with a duplicated name (deprecated).
Declared in <openssl/dh.h>
[[deprecated]]
DH_METHOD*
DH_meth_new(
char const* name,
int flags);
Deprecated. Use of this entity is allowed but discouraged.
New DH_METHOD, or NULL on failure; free with DH_meth_free().
| Name | Description |
|---|---|
| name | Display name copied into the method object. |
| flags | Initial DH_METHOD flag bits. |