]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Integral value of an algorithm should always be unsigned
authorFred Morcos <fred.morcos@open-xchange.com>
Tue, 15 Mar 2022 08:53:34 +0000 (09:53 +0100)
committerFred Morcos <fred.morcos@open-xchange.com>
Tue, 15 Mar 2022 09:05:49 +0000 (10:05 +0100)
pdns/dnssecinfra.cc

index 198bb791aab0e09a269c2b693579d8b7abd772cb..6acf6418409bf148201f2ca5546c61ae78f4e2a4 100644 (file)
@@ -297,7 +297,7 @@ void DNSCryptoKeyEngine::testMakers(unsigned int algo, maker_t* creator, maker_t
 
   { // FIXME: this block copy/pasted from makeFromISCString
     DNSKEYRecordContent dkrc;
-    int algorithm = 0;
+    unsigned int algorithm = 0;
     string sline, key, value, raw;
     std::istringstream str(dckeCreate->convertToISC());
     map<string, string> stormap;