mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-05-04 03:30:49 +02:00
Merge pull request #9133 from AlexLanzano/log-fix
Fix value comparison typo in if statement
This commit is contained in:
@@ -397,7 +397,7 @@ static void wolfssl_log(const int logLevel, const char* const file_name,
|
|||||||
/* Assume zero-terminated msg, len less than WOLFSSL_MSG_CERT_BUF_SZ */
|
/* Assume zero-terminated msg, len less than WOLFSSL_MSG_CERT_BUF_SZ */
|
||||||
written = XVSNPRINTF(msg, WOLFSSL_MSG_CERT_BUF_SZ, fmt, args);
|
written = XVSNPRINTF(msg, WOLFSSL_MSG_CERT_BUF_SZ, fmt, args);
|
||||||
va_end(args);
|
va_end(args);
|
||||||
if ((written > 0) && (loggingCertEnabled =! 0)) {
|
if ((written > 0) && (loggingCertEnabled != 0)) {
|
||||||
wolfssl_log(INFO_LOG, NULL, 0, msg);
|
wolfssl_log(INFO_LOG, NULL, 0, msg);
|
||||||
}
|
}
|
||||||
#ifdef WOLFSSL_SMALL_STACK
|
#ifdef WOLFSSL_SMALL_STACK
|
||||||
|
|||||||
Reference in New Issue
Block a user