[#DH_get_nid]
= DH&lowbar;get&lowbar;nid
:mrdocs:

Return the named&hyphen;group NID for a DH object if its parameters match a known group (deprecated)&period;

== Synopsis

Declared in `&lt;openssl&sol;dh&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;deprecated&rsqb;&rsqb;
int
DH&lowbar;get&lowbar;nid(xref:DH.adoc[DH] const* dh);
----

[WARNING]
====
https://en.cppreference.com/cpp/language/attributes/deprecated[Deprecated^]. Use of this entity is allowed but discouraged.
====
== Return Value

Matching NID such as NID&lowbar;ffdhe2048, or NID&lowbar;undef if the parameters are not a named group&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *dh*
| DH object to query&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
