From ff43d39015b094efb2d23d54f09d6c9f9c05e817 Mon Sep 17 00:00:00 2001 From: Juliusz Sosinowicz Date: Thu, 3 Dec 2020 14:29:19 +0100 Subject: [PATCH] GCC complains about empty if --- src/ssl.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ssl.c b/src/ssl.c index 68187a0b6..e3c2b9398 100644 --- a/src/ssl.c +++ b/src/ssl.c @@ -7860,8 +7860,9 @@ WOLFSSL_EVP_PKEY* wolfSSL_d2i_PUBKEY(WOLFSSL_EVP_PKEY** out, #endif /* !HAVE_FIPS || HAVE_FIPS_VERSION > 2 */ #endif /* !NO_DH && (WOLFSSL_QT || OPENSSL_ALL) */ - if (pkey == NULL) + if (pkey == NULL) { WOLFSSL_MSG("wolfSSL_d2i_PUBKEY couldn't determine key type"); + } return pkey; }