Commit d1ca25ca authored by Giovanni Bajo's avatar Giovanni Bajo Committed by Simon Kelley

Canonicalize NS records.

parent 23c21766
...@@ -195,6 +195,7 @@ static int verifyalg_add_rdata(VerifyAlgCtx *alg, int sigtype, struct dns_header ...@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment