[#BN_dup]
= BN&lowbar;dup
:mrdocs:

Allocate a new BIGNUM that is a deep copy of `a&period;`

== Synopsis

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

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

== Return Value

New BIGNUM equal to `a,` or NULL on failure&semi; free with BN&lowbar;free()&period;

== Parameters

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


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