[#EVP_PKEY_dup] = EVP_PKEY_dup :mrdocs: Duplicate an EVP_PKEY (not supported for ENGINE‐based or raw keys). == Synopsis Declared in `<openssl/evp.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:EVP_PKEY.adoc[EVP_PKEY]* EVP_PKEY_dup(xref:EVP_PKEY.adoc[EVP_PKEY]* pkey); ---- == Return Value Newly allocated copy, or NULL on failure. == Parameters [cols="1,4"] |=== | Name| Description | *pkey* | Key to copy. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#