[#EC_KEY_dup]
= EC&lowbar;KEY&lowbar;dup
:mrdocs:

Creates a new EC&lowbar;KEY object and copies the content from src to it&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;dup(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

newly created EC&lowbar;KEY object or NULL if an error occurred&period;

== Parameters

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


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