From 04ecaff6a97b09c3f495f3b5652ae17d45fa756e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Korthaus?= Date: Thu, 26 Jul 2018 11:17:07 +0200 Subject: [PATCH] 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. --- src/libstrongswan/tests/suites/test_rsa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libstrongswan/tests/suites/test_rsa.c b/src/libstrongswan/tests/suites/test_rsa.c index 3f6353404..e6dc7744a 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)