[#EC_KEY_copy]
= EC&lowbar;KEY&lowbar;copy
:mrdocs:

Copies a EC&lowbar;KEY object&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;deprecated&rsqb;&rsqb;
xref:EC_KEY.adoc[EC&lowbar;KEY]*
EC&lowbar;KEY&lowbar;copy(
    xref:EC_KEY.adoc[EC&lowbar;KEY]* dst,
    xref:EC_KEY.adoc[EC&lowbar;KEY] const* src);
----

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

dst or NULL if an error occurred&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *dst*
| destination EC&lowbar;KEY object
| *src*
| src EC&lowbar;KEY object
|===


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