[#OSSL_CMP_print_errors_cb]
= OSSL&lowbar;CMP&lowbar;print&lowbar;errors&lowbar;cb
:mrdocs:

Print the OpenSSL error queue via a CMP logging callback&period;

== Synopsis

Declared in `&lt;openssl&sol;cmp&lowbar;util&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
OSSL&lowbar;CMP&lowbar;print&lowbar;errors&lowbar;cb(xref:OSSL_CMP_log_cb_t.adoc[OSSL&lowbar;CMP&lowbar;log&lowbar;cb&lowbar;t] log&lowbar;fn);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *log&lowbar;fn*
| Callback invoked for each error&hyphen;queue entry&semi; if NULL, errors go to stderr via the default CMP logger&period;
|===


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