Canonicalize NS records.

This commit is contained in:
Giovanni Bajo
2012-04-28 12:23:04 +02:00
committed by Simon Kelley
parent 23c2176681
commit d1ca25ca7e

View File

@@ -195,6 +195,7 @@ static int verifyalg_add_rdata(VerifyAlgCtx *alg, int sigtype, struct dns_header
switch (sigtype) switch (sigtype)
{ {
/* TODO: missing lots of RR types, see RFC4034, §6.2 */ /* TODO: missing lots of RR types, see RFC4034, §6.2 */
case T_NS:
case T_CNAME: case T_CNAME:
if (!(res = verifyalg_add_data_wire_domain(NULL, header, pktlen, &p))) if (!(res = verifyalg_add_data_wire_domain(NULL, header, pktlen, &p)))
return 0; return 0;