From: René Korthaus Date: Thu, 26 Jul 2018 09:17:07 +0000 (+0200) Subject: unit-tests: Remove 768 bits RSA gen test X-Git-Tag: 5.7.0rc1~4^2~21 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=04ecaff6a97b09c3f495f3b5652ae17d45fa756e;p=thirdparty%2Fstrongswan.git unit-tests: Remove 768 bits RSA gen test Botan only allows RSA generating keys >= 1,024 bits, which makes the RSA test suite fail. It is questionable whether it makes sense to test 768 bit RSA keys anymore. They are too weak from today's perspective anyway. --- diff --git a/src/libstrongswan/tests/suites/test_rsa.c b/src/libstrongswan/tests/suites/test_rsa.c index 3f63534046..e6dc7744a9 100644 --- a/src/libstrongswan/tests/suites/test_rsa.c +++ b/src/libstrongswan/tests/suites/test_rsa.c @@ -146,7 +146,7 @@ static void test_bad_sigs(public_key_t *pubkey) * RSA key sizes to test */ static int key_sizes[] = { - 768, 1024, 1536, 2048, 3072, 4096, + 1024, 1536, 2048, 3072, 4096, }; START_TEST(test_gen)