From: Nils Wisiol Date: Tue, 15 Mar 2022 08:30:11 +0000 (+0100) Subject: Use RSA-2048 instead of RSA-1024 for crypto benchmark X-Git-Tag: dnsdist-1.8.0-rc1~217^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=cc835c1280c7e7fc61e1ae80f5ee1447f7d26b9f;p=thirdparty%2Fpdns.git Use RSA-2048 instead of RSA-1024 for crypto benchmark --- diff --git a/pdns/dnssecinfra.cc b/pdns/dnssecinfra.cc index a5b5f786d0..a32671ee40 100644 --- a/pdns/dnssecinfra.cc +++ b/pdns/dnssecinfra.cc @@ -279,7 +279,7 @@ void DNSCryptoKeyEngine::testMakers(unsigned int algo, maker_t* creator, maker_t cout<<"Testing algorithm "<getName()<<"' ->'"<getName()<<"' -> '"<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)