Removed the dead #ifdef WOLFSSL_MICROCHIP_TA100 block (it was inside #ifndef WOLFSSL_MICROCHIP_TA100

This commit is contained in:
Tesfa Mael
2026-03-05 16:48:12 -08:00
committed by Daniele Lacamera
parent 00b99b88f3
commit 416b3434db
+1 -11
View File
@@ -26826,17 +26826,7 @@ WOLFSSL_TEST_SUBROUTINE wc_test_ret_t rsa_test(void)
ret = wc_AsyncWait(ret, &key->asyncDev, WC_ASYNC_FLAG_CALL_AGAIN);
#endif
if (ret >= 0) {
#if defined(WOLFSSL_KEY_GEN) && defined(WOLFSSL_MICROCHIP_TA100)
/* Create new keys for TA100 */
ret = wc_MakeRsaKey(key, 2048, WC_RSA_EXPONENT, &rng);
if (ret) {
goto exit_rsa;
}
ret = wc_RsaPublicEncrypt(in, inLen, out, 256, key, &rng);
#else
ret = wc_RsaPublicEncrypt(in, inLen, out, outSz, key, &rng);
#endif
ret = wc_RsaPublicEncrypt(in, inLen, out, outSz, key, &rng);
}
} while (ret == WC_NO_ERR_TRACE(WC_PENDING_E));
if (ret < 0)