mirror of https://github.com/wolfSSL/wolfssl.git
Cleanup debug errors
parent
90367df13c
commit
afb2180e80
|
@ -641,7 +641,10 @@ void wc_RemoveErrorNode(int idx)
|
|||
*/
|
||||
void wc_ClearErrorNodes(void)
|
||||
{
|
||||
#if defined(DEBUG_WOLFSSL) || defined(WOLFSSL_NGINX)
|
||||
#if defined(DEBUG_WOLFSSL) || defined(WOLFSSL_NGINX) || \
|
||||
defined(OPENSSL_ALL) || defined(DEBUG_WOLFSSL_VERBOSE) || \
|
||||
defined(WOLFSSL_HAPROXY)
|
||||
|
||||
if (wc_LockMutex(&debug_mutex) != 0) {
|
||||
WOLFSSL_MSG("Lock debug mutex failed");
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue