Cleanup debug errors

pull/1721/head
kaleb-himes 2018-07-27 14:00:19 -06:00
parent 90367df13c
commit afb2180e80
1 changed files with 4 additions and 1 deletions

View File

@ -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;