`RFC2845` states that the algorithm name should be in `canonical wire
format` for the hash computation, which implies it should be lowercased.
We actually did lowercase it in 3.x, until it was moved to a `DNSName`
in 4.x.
(cherry picked from commit
68e9d647d4229c7a2ebd64d50837195d148c574b)
dw.xfrName(keyname, false);
dw.xfr16BitInt(QClass::ANY); // class
dw.xfr32BitInt(0); // TTL
- // dw.xfrName(toLower(trc.d_algoName), false); //FIXME400
- dw.xfrName(trc.d_algoName, false);
+ dw.xfrName(trc.d_algoName.makeLowerCase(), false);
}
uint32_t now = trc.d_time;