[#RSAPrivateKey_dup] = RSAPrivateKey_dup :mrdocs: Deep‐copy an RSA private key (RSAPrivateKey_dup) (deprecated). == Synopsis Declared in `<openssl/rsa.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[deprecated]] xref:RSA.adoc[RSA]* RSAPrivateKey_dup(xref:RSA.adoc[RSA] const* a); ---- [WARNING] ==== https://en.cppreference.com/cpp/language/attributes/deprecated[Deprecated^]. Use of this entity is allowed but discouraged. ==== == Return Value Newly allocated RSA copy, or NULL on failure; free with RSA_free(). == Parameters [cols="1,4"] |=== | Name| Description | *a* | Source RSA key to duplicate. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#