[#EVP_PKEY_dup]
= EVP&lowbar;PKEY&lowbar;dup
:mrdocs:

Duplicate an EVP&lowbar;PKEY (not supported for ENGINE&hyphen;based or raw keys)&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:EVP_PKEY.adoc[EVP&lowbar;PKEY]*
EVP&lowbar;PKEY&lowbar;dup(xref:EVP_PKEY.adoc[EVP&lowbar;PKEY]* pkey);
----

== Return Value

Newly allocated copy, or NULL on failure&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *pkey*
| Key to copy&period;
|===


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