From 9b02ec95ef03ba36374f11d0b3cc4940c8b0a71d Mon Sep 17 00:00:00 2001 From: Todd A Ouska Date: Tue, 16 Aug 2011 17:18:12 -0700 Subject: [PATCH] make sure logging enabled for all output --- ctaocrypt/src/logging.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ctaocrypt/src/logging.c b/ctaocrypt/src/logging.c index cdf6631ee..c48105c4a 100644 --- a/ctaocrypt/src/logging.c +++ b/ctaocrypt/src/logging.c @@ -106,7 +106,8 @@ static void cyassl_log(const int logLevel, const char *const logMessage) void CYASSL_MSG(const char* msg) { - cyassl_log(INFO_LOG , msg); + if (loggingEnabled) + cyassl_log(INFO_LOG , msg); }