mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-01-26 20:32:19 +01: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 */
|
||||
written = XVSNPRINTF(msg, WOLFSSL_MSG_CERT_BUF_SZ, fmt, args);
|
||||
va_end(args);
|
||||
if ((written > 0) && (loggingCertEnabled =! 0)) {
|
||||
if ((written > 0) && (loggingCertEnabled != 0)) {
|
||||
wolfssl_log(INFO_LOG, NULL, 0, msg);
|
||||
}
|
||||
#ifdef WOLFSSL_SMALL_STACK
|
||||
|
||||
Reference in New Issue
Block a user