[#EVP_MAC_CTX_get0_mac]
= EVP&lowbar;MAC&lowbar;CTX&lowbar;get0&lowbar;mac
:mrdocs:

Return the EVP&lowbar;MAC associated with a MAC context&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:EVP_MAC.adoc[EVP&lowbar;MAC]*
EVP&lowbar;MAC&lowbar;CTX&lowbar;get0&lowbar;mac(xref:EVP_MAC_CTX.adoc[EVP&lowbar;MAC&lowbar;CTX]* ctx);
----

== Return Value

Internal EVP&lowbar;MAC pointer (do not free), or NULL if unset&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *ctx*
| MAC context to query&period;
|===


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