/*
* lowercase the rdata dnames if the rr type is one
* of the list in chapter 7 of RFC3597
+ * Also added RRSIG, because a "Signer's Name" should be canonicalized
+ * too. See dnssec-bis-updates-16. We can add it to this list because
+ * the "Signer's Name" is the only dname type rdata field in a RRSIG.
*/
switch(ldns_rr_get_type(rr)) {
case LDNS_RR_TYPE_NS:
case LDNS_RR_TYPE_SRV:
case LDNS_RR_TYPE_DNAME:
case LDNS_RR_TYPE_A6:
+ case LDNS_RR_TYPE_RRSIG:
for (i = 0; i < ldns_rr_rd_count(rr); i++) {
ldns_dname2canonical(ldns_rr_rdf(rr, i));
}