mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-07-05 18:30:48 +02:00
Removed the dead #ifdef WOLFSSL_MICROCHIP_TA100 block (it was inside #ifndef WOLFSSL_MICROCHIP_TA100
This commit is contained in:
committed by
Daniele Lacamera
parent
00b99b88f3
commit
416b3434db
+1
-11
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user