[#EVP_MAC_CTX_dup]
= EVP&lowbar;MAC&lowbar;CTX&lowbar;dup
:mrdocs:

Duplicate a MAC context, including its current state&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:EVP_MAC_CTX.adoc[EVP&lowbar;MAC&lowbar;CTX]*
EVP&lowbar;MAC&lowbar;CTX&lowbar;dup(xref:EVP_MAC_CTX.adoc[EVP&lowbar;MAC&lowbar;CTX] const* src);
----

== Return Value

Newly allocated copy, or NULL on failure&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *src*
| Source context to copy&period;
|===


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