Improve logging message.

This commit is contained in:
Giovanni Bajo
2012-04-28 01:03:22 +02:00
committed by Simon Kelley
parent 79333a2498
commit 00b963ab72

View File

@@ -390,7 +390,7 @@ int dnssec_validate(struct dns_header *header, size_t pktlen)
GETSHORT(rdlen, p); GETSHORT(rdlen, p);
if (qtype == T_RRSIG) if (qtype == T_RRSIG)
{ {
printf("RRSIG found\n"); printf("RRSIG found (owner: %s)\n", owner);
/* TODO: missing logic. We should only validate RRSIGs for which we /* TODO: missing logic. We should only validate RRSIGs for which we
have a valid DNSKEY that is referenced by a DS record upstream. have a valid DNSKEY that is referenced by a DS record upstream.
There is a memory vs CPU conflict here; should we validate everything There is a memory vs CPU conflict here; should we validate everything