mirror of
https://github.com/Icinga/icinga2.git
synced 2025-09-24 02:07:53 +02:00
[TEST] RSA e=3 fixes unit test?
This commit is contained in:
parent
d4aca626b2
commit
72e9b93604
@ -21,7 +21,7 @@ static EVP_PKEY* GenKeypair()
|
|||||||
auto rsa (RSA_new());
|
auto rsa (RSA_new());
|
||||||
auto key (EVP_PKEY_new());
|
auto key (EVP_PKEY_new());
|
||||||
|
|
||||||
BN_set_word(e, RSA_F4);
|
BN_set_word(e, RSA_3);
|
||||||
BOOST_REQUIRE(RSA_generate_key_ex(rsa, 512, e, nullptr));
|
BOOST_REQUIRE(RSA_generate_key_ex(rsa, 512, e, nullptr));
|
||||||
EVP_PKEY_assign_RSA(key, rsa);
|
EVP_PKEY_assign_RSA(key, rsa);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user