mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-02 04:04:39 +02:00
@@ -3160,7 +3160,7 @@ then
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test "$ENABLED_NGINX" = "yes"|| test "x$ENABLED_HAPROXY" = "xyes"
|
if test "$ENABLED_NGINX" = "yes"|| test "x$ENABLED_HAPROXY" = "xyes" || test "x$ENABLED_LIGHTY" = "xyes"
|
||||||
then
|
then
|
||||||
AM_CFLAGS="$AM_CFLAGS -DWOLFSSL_ALWAYS_VERIFY_CB"
|
AM_CFLAGS="$AM_CFLAGS -DWOLFSSL_ALWAYS_VERIFY_CB"
|
||||||
AM_CFLAGS="$AM_CFLAGS -DWOLFSSL_ALWAYS_KEEP_SNI"
|
AM_CFLAGS="$AM_CFLAGS -DWOLFSSL_ALWAYS_KEEP_SNI"
|
||||||
|
@@ -18391,6 +18391,11 @@ static void test_wolfSSL_ERR_put_error(void)
|
|||||||
/* Empty and free up all error nodes */
|
/* Empty and free up all error nodes */
|
||||||
ERR_clear_error();
|
ERR_clear_error();
|
||||||
|
|
||||||
|
/* Verify all nodes are cleared */
|
||||||
|
ERR_put_error(0,SYS_F_ACCEPT, 0, "this file", 0);
|
||||||
|
ERR_clear_error();
|
||||||
|
AssertIntEQ(ERR_get_error_line(&file, &line), 0);
|
||||||
|
|
||||||
printf(resultFmt, passed);
|
printf(resultFmt, passed);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
@@ -679,6 +679,7 @@ void wc_ClearErrorNodes(void)
|
|||||||
|
|
||||||
wc_errors = NULL;
|
wc_errors = NULL;
|
||||||
wc_last_node = NULL;
|
wc_last_node = NULL;
|
||||||
|
wc_current_node = NULL;
|
||||||
wc_UnLockMutex(&debug_mutex);
|
wc_UnLockMutex(&debug_mutex);
|
||||||
#endif /* DEBUG_WOLFSSL || WOLFSSL_NGINX */
|
#endif /* DEBUG_WOLFSSL || WOLFSSL_NGINX */
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user