]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
unit-tests: Remove 768 bits RSA gen test
authorRené Korthaus <rene.korthaus@rohde-schwarz.com>
Thu, 26 Jul 2018 09:17:07 +0000 (11:17 +0200)
committerTobias Brunner <tobias@strongswan.org>
Wed, 12 Sep 2018 14:25:00 +0000 (16:25 +0200)
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

index 3f6353404676cc6a19eb905c5e9b34235651b51f..e6dc7744a994c24f5cfc956bbae7f328e6ae1b04 100644 (file)
@@ -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)