From 06f1a1870d59d1db2a0f0040c6762e24f97b070b Mon Sep 17 00:00:00 2001 From: Ethan Looney Date: Thu, 5 Nov 2020 13:05:15 -0700 Subject: [PATCH] Added inverse case --- tests/api.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/api.c b/tests/api.c index 6f10cc61b..591a1a316 100644 --- a/tests/api.c +++ b/tests/api.c @@ -29205,6 +29205,9 @@ static int test_wolfSSL_GetLoggingCb (void) if (wolfSSL_GetLoggingCb() == NULL) { ret = 0; } + if (wolfSSL_GetLoggingCb() != NULL) { + ret = -1; + } } printf(resultFmt, ret == 0 ? passed : failed);