mirror of
https://github.com/Icinga/icinga2.git
synced 2025-09-24 10:17:59 +02:00
[TEST] Smallest RSA fixes unit test?
This commit is contained in:
parent
dba332ec38
commit
d4aca626b2
@ -22,7 +22,7 @@ static EVP_PKEY* GenKeypair()
|
|||||||
auto key (EVP_PKEY_new());
|
auto key (EVP_PKEY_new());
|
||||||
|
|
||||||
BN_set_word(e, RSA_F4);
|
BN_set_word(e, RSA_F4);
|
||||||
BOOST_REQUIRE(RSA_generate_key_ex(rsa, 1024, e, nullptr));
|
BOOST_REQUIRE(RSA_generate_key_ex(rsa, 512, e, nullptr));
|
||||||
EVP_PKEY_assign_RSA(key, rsa);
|
EVP_PKEY_assign_RSA(key, rsa);
|
||||||
|
|
||||||
return key;
|
return key;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user