We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3e112a3 commit ebdbc8eCopy full SHA for ebdbc8e
1 file changed
wolfcrypt/test/test.c
@@ -25322,6 +25322,7 @@ static wc_test_ret_t rsa_keygen_test(WC_RNG* rng)
25322
#else
25323
derSz = sizeof(der);
25324
#endif
25325
+#if !defined(WC_TEST_SKIP_RSA_PRIVATE_EXPORT)
25326
derSz = wc_RsaKeyToDer(genKey, der, derSz);
25327
if (derSz < 0) {
25328
ERROR_OUT(WC_TEST_RET_ENC_EC(derSz), exit_rsa);
@@ -25345,6 +25346,7 @@ static wc_test_ret_t rsa_keygen_test(WC_RNG* rng)
25345
25346
if (ret != 0)
25347
ERROR_OUT(WC_TEST_RET_ENC_EC(ret), exit_rsa);
25348
#endif /* WOLFSSL_CRYPTOCELL */
25349
+#endif /* !WC_TEST_SKIP_RSA_PRIVATE_EXPORT */
25350
25351
exit_rsa:
25352
0 commit comments