]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Use RSA-2048 instead of RSA-1024 for crypto benchmark 11417/head
authorNils Wisiol <mail@nils-wisiol.de>
Tue, 15 Mar 2022 08:30:11 +0000 (09:30 +0100)
committerNils Wisiol <mail@nils-wisiol.de>
Tue, 15 Mar 2022 08:30:11 +0000 (09:30 +0100)
pdns/dnssecinfra.cc

index a5b5f786d023aa6bbb78c8b45aa441165f6c3b54..a32671ee406448145b78a6118ddded828406b2f4 100644 (file)
@@ -279,7 +279,7 @@ void DNSCryptoKeyEngine::testMakers(unsigned int algo, maker_t* creator, maker_t
   cout<<"Testing algorithm "<<algo<<"("<<DNSSECKeeper::algorithm2name(algo)<<"): '"<<dckeCreate->getName()<<"' ->'"<<dckeSign->getName()<<"' -> '"<<dckeVerify->getName()<<"' ";
   unsigned int bits;
   if(algo <= 10)
-    bits=1024;
+    bits=2048;
   else if(algo == DNSSECKeeper::ECCGOST || algo == DNSSECKeeper::ECDSA256 || algo == DNSSECKeeper::ED25519)
     bits = 256;
   else if(algo == DNSSECKeeper::ECDSA384)