SiLabs: fix unused variable #if

This commit is contained in:
Elms
2020-12-01 08:56:01 -08:00
parent 099ed25da8
commit dbcb42e509

View File

@@ -8134,8 +8134,9 @@ static int wc_ecc_import_raw_private(ecc_key* key, const char* qx,
byte key_raw[ECC_MAX_CRYPTO_HW_SIZE*2 + 1];
#endif
#if defined(WOLFSSL_CRYPTOCELL) || defined(WOLFSSL_ATECC508A) || \
!defined(WOLFSSL_ATECC608A) || defined(WOLFSSL_SILABS_SE_ACCEL)
#if (defined(WOLFSSL_CRYPTOCELL) && !defined(WOLFSSL_ATECC508A) && \
!defined(WOLFSSL_ATECC608A)) || \
defined(WOLFSSL_SILABS_SE_ACCEL)
word32 keySz = 0;
#endif