[#OSSL_PARAM_dup]
= OSSL&lowbar;PARAM&lowbar;dup
:mrdocs:

Deep&hyphen;copy an OSSL&lowbar;PARAM array, including owned string&sol;octet buffers&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:OSSL_PARAM.adoc[OSSL&lowbar;PARAM]*
OSSL&lowbar;PARAM&lowbar;dup(xref:OSSL_PARAM.adoc[OSSL&lowbar;PARAM] const* p);
----

== Return Value

Newly allocated copy freed with OSSL&lowbar;PARAM&lowbar;free(), or NULL on failure&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *p*
| Source array terminated by OSSL&lowbar;PARAM&lowbar;construct&lowbar;end(), or NULL&period;
|===


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