[#EVP_PKEY_meth_copy]
= EVP&lowbar;PKEY&lowbar;meth&lowbar;copy
:mrdocs:

Copy all callbacks and flags from one EVP&lowbar;PKEY&lowbar;METHOD to another (deprecated)&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;deprecated&rsqb;&rsqb;
void
EVP&lowbar;PKEY&lowbar;meth&lowbar;copy(
    xref:EVP_PKEY_METHOD.adoc[EVP&lowbar;PKEY&lowbar;METHOD]* dst,
    xref:EVP_PKEY_METHOD.adoc[EVP&lowbar;PKEY&lowbar;METHOD] const* src);
----

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

[cols="1,4"]
|===
| Name| Description
| *dst*
| Destination method (existing object overwritten)&period;
| *src*
| Source method whose callbacks&sol;flags are copied&period;
|===


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