[TEST] Small RSA fixes unit test?

This commit is contained in:
Alexander A. Klimov 2023-12-07 15:32:23 +01:00
parent 8979d2a70f
commit 638e838aec

View File

@ -22,7 +22,7 @@ static EVP_PKEY* GenKeypair()
auto key (EVP_PKEY_new());
BN_set_word(e, RSA_F4);
BOOST_REQUIRE(RSA_generate_key_ex(rsa, 4096, e, nullptr));
BOOST_REQUIRE(RSA_generate_key_ex(rsa, 2048, e, nullptr));
EVP_PKEY_assign_RSA(key, rsa);
return key;