From 72e9b936049c837429c724c5e448d062d6e68394 Mon Sep 17 00:00:00 2001 From: "Alexander A. Klimov" Date: Thu, 7 Dec 2023 15:33:53 +0100 Subject: [PATCH] [TEST] RSA e=3 fixes unit test? --- test/base-tlsutility.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/base-tlsutility.cpp b/test/base-tlsutility.cpp index f121b19e0..38d221c3e 100644 --- a/test/base-tlsutility.cpp +++ b/test/base-tlsutility.cpp @@ -21,7 +21,7 @@ static EVP_PKEY* GenKeypair() auto rsa (RSA_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)); EVP_PKEY_assign_RSA(key, rsa);