From abd6f6ce18236121bbcd81bd604365e60143adb4 Mon Sep 17 00:00:00 2001 From: John Safranek Date: Fri, 6 Nov 2020 10:30:47 -0800 Subject: [PATCH] Hush Unused Param Warning Removed a guard check for NO_WOLFSSL_STUB from wolfSSL_X509_print_ex(). To recreate: $ ./configure --enable-opensslextra CPPFLAGS="-DNO_WOLFSSL_STUB" $ make --- src/ssl.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/ssl.c b/src/ssl.c index b1c0a9871..c6939a020 100644 --- a/src/ssl.c +++ b/src/ssl.c @@ -20946,11 +20946,9 @@ int wolfSSL_X509_cmp(const WOLFSSL_X509 *a, const WOLFSSL_X509 *b) { WOLFSSL_ENTER("wolfSSL_X509_print_ex"); - #ifndef NO_WOLFSSL_STUB /* flags currently not supported */ (void)nmflags; (void)cflag; - #endif if (bio == NULL || x509 == NULL) { return WOLFSSL_FAILURE;