From: Miek Gieben Date: Thu, 8 Sep 2005 12:23:44 +0000 (+0000) Subject: todos X-Git-Tag: release-1.0.0~182 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=898be288d1ed51e47f4ccd728ab8dbe8fc1d5ca7;p=thirdparty%2Fldns.git todos --- diff --git a/error.c b/error.c index 9f65349d..4950b38f 100644 --- a/error.c +++ b/error.c @@ -42,7 +42,7 @@ ldns_lookup_table ldns_error_str[] = { { LDNS_STATUS_CRYPTO_NO_DNSKEY, "No DNSSEC public key(s)" }, { LDNS_STATUS_CRYPTO_NO_TRUSTED_DNSKEY, "No signatures found for trusted DNSSEC public key(s)" }, { LDNS_STATUS_CRYPTO_NO_MATCHING_KEYTAG_DNSKEY, "No keys with the keytag from the RRSIG found" }, - { LDNS_STATUS_CRYPTO_VALIDATED, "validated" }, + { LDNS_STATUS_CRYPTO_VALIDATED, "Valid DNSSEC signature" }, { LDNS_STATUS_CRYPTO_BOGUS, "Bogus DNSSEC signature" }, { LDNS_STATUS_CRYPTO_SIG_EXPIRED, "DNSSEC signature has expired" }, { LDNS_STATUS_CRYPTO_SIG_NOT_INCEPTED, "DNSSEC signature not incepted yet" }, diff --git a/host2str.c b/host2str.c index a5ee4948..ec0bf7e2 100644 --- a/host2str.c +++ b/host2str.c @@ -788,9 +788,10 @@ ldns_rr2buffer_str(ldns_buffer *output, ldns_rr *rr) return status; } - /* ttl should not be printed if it is a question, - * but we don't know that anymore... (do we?)*/ - /* TODO: better way */ + /* TTL should NOT be printed if it is a question, + * but we don't know that anymore... (do we?) + * if the rd count is 0 we deal with a question sec. RR + */ if (ldns_rr_rd_count(rr) > 0) { ldns_buffer_printf(output, "\t%d", ldns_rr_ttl(rr)); }