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
This commit is contained in:
John Safranek 2020-11-06 10:30:47 -08:00
parent d784bd61cd
commit abd6f6ce18
No known key found for this signature in database
GPG Key ID: 8CE817DE0D3CCB4A

View File

@ -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;