       void *u);</code></pre>

<h1 id="DESCRIPTION">DESCRIPTION</h1>

<p>ERR_print_errors() is a convenience function that prints the error strings for all errors that OpenSSL has recorded to <b>bp</b>, thus emptying the error queue.</p>

<p>ERR_print_errors_fp() is the same, except that the output goes to a <b>FILE</b>.</p>

<p>ERR_print_errors_cb() is the same, except that the callback function, <b>cb</b>, is called for each error line with the string, length, and userdata <b>u</b> as the callback paramet