[#ASN1_STRING_dup]
= ASN1&lowbar;STRING&lowbar;dup
:mrdocs:

Deep&hyphen;copy an ASN&period;1 string (type, data, and flags)&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:ASN1_STRING.adoc[ASN1&lowbar;STRING]*
ASN1&lowbar;STRING&lowbar;dup(xref:ASN1_STRING.adoc[ASN1&lowbar;STRING] const* a);
----

== Return Value

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

== Parameters

[cols="1,4"]
|===
| Name| Description
| *a*
| Source string to duplicate&period;
|===


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