From 6793a7bc4c40cf04d5b7c4581746e8cda3d909d8 Mon Sep 17 00:00:00 2001 From: abrahamsonn Date: Thu, 16 Nov 2017 14:54:54 -0700 Subject: [PATCH] Voided 2 variables outside of their ifdef's --- src/internal.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/internal.c b/src/internal.c index c548bcfe7..634c7e1d9 100644 --- a/src/internal.c +++ b/src/internal.c @@ -19540,11 +19540,11 @@ int DecodePrivateKey(WOLFSSL *ssl, word16* length) #if !defined(NO_RSA) || defined(HAVE_ECC) || defined(HAVE_ED25519) int keySz; word32 idx; + (void)idx; + (void)keySz; #else (void)length; #endif - (void)idx; - (void)keySz; /* make sure private key exists */ if (ssl->buffers.key == NULL || ssl->buffers.key->buffer == NULL) {