From: Wouter Wijngaards Date: Tue, 22 Sep 2015 08:43:56 +0000 (+0000) Subject: - Remove confusion comment from canonical_compare() function. X-Git-Tag: release-1.5.5rc1~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e3351c36066ac97e2baf22c60b72043e926e00ba;p=thirdparty%2Funbound.git - Remove confusion comment from canonical_compare() function. git-svn-id: file:///svn/unbound/trunk@3488 be551aaa-1e26-0410-a405-d3ace91eadb9 --- diff --git a/doc/Changelog b/doc/Changelog index 76abb1146..1a5cfbb5b 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -3,6 +3,7 @@ globs (patch from Dag-Erling Smørgrav). - iana portlist update. - Fix #702: New IPs for for h.root-servers.net. + - Remove confusion comment from canonical_compare() function. 31 August 2015: Wouter - changed windows setup compression to be more transparent. diff --git a/validator/val_sigcrypt.c b/validator/val_sigcrypt.c index 7c643cab1..a2f126529 100644 --- a/validator/val_sigcrypt.c +++ b/validator/val_sigcrypt.c @@ -795,10 +795,6 @@ canonical_compare(struct ub_packed_rrset_key* rrset, size_t i, size_t j) if(i==j) return 0; - /* in case rdata-len is to be compared for canonical order - c = memcmp(d->rr_data[i], d->rr_data[j], 2); - if(c != 0) - return c; */ switch(type) { /* These RR types have only a name as RDATA.