Return the named‐group NID for a DH object if its parameters match a known group (deprecated).

Synopsis

Declared in <openssl/dh.h>

[[deprecated]]
int
DH_get_nid(DH const* dh);
Warning

Deprecated. Use of this entity is allowed but discouraged.

Return Value

Matching NID such as NID_ffdhe2048, or NID_undef if the parameters are not a named group.

Parameters

Name

Description

dh

DH object to query.

Created with MrDocs