forked from wolfSSL/wolfssl
Fix for issue with unit test where mutliple threads are outputting log data.
This commit is contained in:
@ -15068,14 +15068,14 @@ done:
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef DEBUG_WOLFSSL
|
#ifdef DEBUG_WOLFSSL
|
||||||
static int log_cnt = 0;
|
static THREAD_LS_T int log_cnt = 0;
|
||||||
static void my_Logging_cb(const int logLevel, const char *const logMessage)
|
static void my_Logging_cb(const int logLevel, const char *const logMessage)
|
||||||
{
|
{
|
||||||
(void)logLevel;
|
(void)logLevel;
|
||||||
(void)logMessage;
|
(void)logMessage;
|
||||||
log_cnt++;
|
log_cnt++;
|
||||||
}
|
}
|
||||||
#endif
|
#endif /* DEBUG_WOLFSSL */
|
||||||
|
|
||||||
int logging_test(void)
|
int logging_test(void)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user