Change some logging messages.

This commit is contained in:
Giovanni Bajo
2012-04-25 20:15:35 +02:00
committed by Simon Kelley
parent 0d829ebc69
commit ccca70cb33

View File

@@ -265,7 +265,7 @@ static void dnssec_parserrsig(struct dns_header *header, size_t pktlen,
if (!onekey) if (!onekey)
{ {
printf("DNSKEY not found, need to fetch it"); printf("DNSKEY not found, need to fetch it\n");
/* TODO: store PendingRRSIGValidation in routing table, /* TODO: store PendingRRSIGValidation in routing table,
fetch key (and make it go through dnssec_parskey), then complete validation. */ fetch key (and make it go through dnssec_parskey), then complete validation. */
} }
@@ -315,9 +315,7 @@ int dnssec_parsekey(struct dns_header *header, size_t pktlen, char *owner, unsig
if (rdlen < explen) if (rdlen < explen)
return 0; return 0;
printf("Alloc'ing: %d bytes\n", rdlen);
key = keydata_alloc(rdata, rdlen); key = keydata_alloc(rdata, rdlen);
printf("Done\n");
break; break;
default: default:
@@ -346,7 +344,6 @@ int dnssec_parsekey(struct dns_header *header, size_t pktlen, char *owner, unsig
return 0; return 0;
} }
cache_end_insert(); cache_end_insert();
printf("DNSKEY record inserted\n");
return 1; return 1;
} }