[#CRYPTO_dup_ex_data]
= CRYPTO&lowbar;dup&lowbar;ex&lowbar;data
:mrdocs:

Duplicate CRYPTO&lowbar;EX&lowbar;DATA entries from `from` into `to` for a class&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
CRYPTO&lowbar;dup&lowbar;ex&lowbar;data(
    int class&lowbar;index,
    xref:CRYPTO_EX_DATA.adoc[CRYPTO&lowbar;EX&lowbar;DATA]* to,
    xref:CRYPTO_EX_DATA.adoc[CRYPTO&lowbar;EX&lowbar;DATA] const* from);
----

== Return Value

1 on success, or 0 on failure&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *class&lowbar;index*
| CRYPTO&lowbar;EX&lowbar;INDEX&lowbar;&ast; identifying the object class&period;
| *to*
| Destination ex&lowbar;data container (typically freshly initialized)&period;
| *from*
| Source ex&lowbar;data to copy&period;
|===


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