]> granicus.if.org Git - pdns/commitdiff
change ECDSA signer priority
authorKees Monshouwer <mind04@monshouwer.org>
Tue, 29 Dec 2015 10:36:26 +0000 (11:36 +0100)
committermind04 <mind04@monshouwer.org>
Tue, 29 Dec 2015 22:22:25 +0000 (23:22 +0100)
pdns/botan110signers.cc
pdns/cryptoppsigners.cc

index eed7f7554724f8021c0162c4a2dd00739ce587da..9c3ecbe78f87bed7534290f5fb56cec742073e8f 100644 (file)
@@ -437,8 +437,8 @@ struct LoaderStruct
   {
     // 'botansigners' inits Botan for us
     DNSCryptoKeyEngine::report(12, &GOSTDNSCryptoKeyEngine::maker);
-    DNSCryptoKeyEngine::report(13, &ECDSADNSCryptoKeyEngine::maker);
-    DNSCryptoKeyEngine::report(14, &ECDSADNSCryptoKeyEngine::maker);
+    DNSCryptoKeyEngine::report(13, &ECDSADNSCryptoKeyEngine::maker, true);
+    DNSCryptoKeyEngine::report(14, &ECDSADNSCryptoKeyEngine::maker, true);
   }
 } loaderBotan19;
 }
index df4241da83d59466595d97ffbce2b84cbc1830c0..12ec589d712093c10399477124d0f1f18216ab61 100644 (file)
@@ -192,8 +192,8 @@ struct LoaderStruct
 {
   LoaderStruct()
   {
-    DNSCryptoKeyEngine::report(13, &CryptoPPECDSADNSCryptoKeyEngine<SHA256, WrapperSECP256R1, 256>::maker);
-    DNSCryptoKeyEngine::report(14, &CryptoPPECDSADNSCryptoKeyEngine<SHA384, WrapperSECP384R1, 384>::maker);
+    DNSCryptoKeyEngine::report(13, &CryptoPPECDSADNSCryptoKeyEngine<SHA256, WrapperSECP256R1, 256>::maker, true);
+    DNSCryptoKeyEngine::report(14, &CryptoPPECDSADNSCryptoKeyEngine<SHA384, WrapperSECP384R1, 384>::maker, true);
   }
 } loaderCryptoPP;
 }