Fix for issue with unit test where mutliple threads are outputting log data.

This commit is contained in:
David Garske
2018-01-02 16:09:40 -08:00
parent b53f2a1ac1
commit d0bd52910f

View File

@ -15068,14 +15068,14 @@ done:
#endif
#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)
{
(void)logLevel;
(void)logMessage;
log_cnt++;
}
#endif
#endif /* DEBUG_WOLFSSL */
int logging_test(void)
{