forked from wolfSSL/wolfssl
Cleanup debug errors
This commit is contained in:
@@ -641,7 +641,10 @@ void wc_RemoveErrorNode(int idx)
|
|||||||
*/
|
*/
|
||||||
void wc_ClearErrorNodes(void)
|
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) {
|
if (wc_LockMutex(&debug_mutex) != 0) {
|
||||||
WOLFSSL_MSG("Lock debug mutex failed");
|
WOLFSSL_MSG("Lock debug mutex failed");
|
||||||
return;
|
return;
|
||||||
|
Reference in New Issue
Block a user