mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-02 12:14:38 +02:00
Voided 2 variables outside of their ifdef's
This commit is contained in:
@@ -19540,11 +19540,11 @@ int DecodePrivateKey(WOLFSSL *ssl, word16* length)
|
|||||||
#if !defined(NO_RSA) || defined(HAVE_ECC) || defined(HAVE_ED25519)
|
#if !defined(NO_RSA) || defined(HAVE_ECC) || defined(HAVE_ED25519)
|
||||||
int keySz;
|
int keySz;
|
||||||
word32 idx;
|
word32 idx;
|
||||||
|
(void)idx;
|
||||||
|
(void)keySz;
|
||||||
#else
|
#else
|
||||||
(void)length;
|
(void)length;
|
||||||
#endif
|
#endif
|
||||||
(void)idx;
|
|
||||||
(void)keySz;
|
|
||||||
|
|
||||||
/* make sure private key exists */
|
/* make sure private key exists */
|
||||||
if (ssl->buffers.key == NULL || ssl->buffers.key->buffer == NULL) {
|
if (ssl->buffers.key == NULL || ssl->buffers.key->buffer == NULL) {
|
||||||
|
Reference in New Issue
Block a user