[#ASN1_item_dup]
= ASN1&lowbar;item&lowbar;dup
:mrdocs:

Deep&hyphen;copy an ASN&period;1 value described by `it&period;`

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void*
ASN1&lowbar;item&lowbar;dup(
    xref:ASN1_ITEM.adoc[ASN1&lowbar;ITEM] const* it,
    void const* x);
----

== Return Value

Newly allocated copy, or NULL on error&semi; free with ASN1&lowbar;item&lowbar;free&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *it*
| ASN&period;1 item describing the type of `x&period;`
| *x*
| Value to duplicate&period;
|===


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