pdnsutil test-algorithm(s): report key size
authorPeter van Dijk <peter.van.dijk@powerdns.com>
Wed, 16 Oct 2019 23:34:15 +0000 (01:34 +0200)
committerPeter van Dijk <peter.van.dijk@powerdns.com>
Wed, 16 Oct 2019 23:34:15 +0000 (01:34 +0200)
pdns/dnssecinfra.cc

index fbbc05c24e116d2865972e08ac7bf10f1d357d8d..ef88453939e0c5cf165d5745db6b7698505c3b44 100644 (file)
@@ -256,6 +256,7 @@ void DNSCryptoKeyEngine::testMakers(unsigned int algo, maker_t* creator, maker_t
   DTime dt; dt.set();
   for(unsigned int n = 0; n < 100; ++n)
     dckeCreate->create(bits);
+  cerr<<"("<<dckeCreate->getBits()<<" bits) ";
   unsigned int udiffCreate = dt.udiff() / 100;
 
   { // FIXME: this block copy/pasted from makeFromISCString