From: Aki Tuomi Date: Sat, 23 May 2015 13:57:31 +0000 (+0300) Subject: Add hmac-md5 shortname support X-Git-Tag: dnsdist-1.0.0-alpha1~248^2~79^2~9^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=773b554920ac8d3b09f1aa509084c70fb849923c;p=thirdparty%2Fpdns.git Add hmac-md5 shortname support --- diff --git a/pdns/misc.cc b/pdns/misc.cc index b3584c2bf5..be44536a6f 100644 --- a/pdns/misc.cc +++ b/pdns/misc.cc @@ -1005,7 +1005,7 @@ bool getTSIGHashEnum(const string &algoName, TSIGHashEnum& algoEnum) { string normalizedName = toLowerCanonic(algoName); - if (normalizedName == "hmac-md5.sig-alg.reg.int") + if (normalizedName == "hmac-md5.sig-alg.reg.int" || normalizedName == "hmac-md5") algoEnum = TSIG_MD5; else if (normalizedName == "hmac-sha1") algoEnum = TSIG_SHA1;