Voided 2 variables outside of their ifdef's

This commit is contained in:
abrahamsonn
2017-11-16 14:54:54 -07:00
parent fe7318455f
commit 6793a7bc4c

View File

@@ -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) {