From: Wouter Wijngaards Date: Wed, 15 Aug 2007 14:09:00 +0000 (+0000) Subject: unit test will fail, but this fixes canonical order in unbound, waiting X-Git-Tag: release-0.5~118 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ce290651d08748ee5e2fe821106635cbf8697189;p=thirdparty%2Funbound.git unit test will fail, but this fixes canonical order in unbound, waiting for ldns fix. git-svn-id: file:///svn/unbound/trunk@523 be551aaa-1e26-0410-a405-d3ace91eadb9 --- diff --git a/validator/val_sigcrypt.c b/validator/val_sigcrypt.c index ab115ec77..26f67cc35 100644 --- a/validator/val_sigcrypt.c +++ b/validator/val_sigcrypt.c @@ -671,9 +671,10 @@ 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; + return c; */ switch(type) { /* These RR types have only a name as RDATA.