[#ENGINE_get_digest_engine]
= ENGINE&lowbar;get&lowbar;digest&lowbar;engine
:mrdocs:

Obtain a functional reference to the default ENGINE implementing digest `nid&period;`

== Synopsis

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

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

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

Initialised ENGINE on success, or NULL if none is registered for `nid&period;`

== Parameters

[cols="1,4"]
|===
| Name| Description
| *nid*
| NID of the EVP&lowbar;MD algorithm to look up&period;
|===


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