mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-02-12 15:23:41 -05:00
More verbose on signer name error.
git-svn-id: file:///svn/unbound/trunk@1322 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
parent
6cebdd2baf
commit
1b1694a959
2 changed files with 7 additions and 0 deletions
|
|
@ -1,3 +1,6 @@
|
|||
23 October 2008: Wouter
|
||||
- a little more debug info for failure on signer names. prints names.
|
||||
|
||||
22 October 2008: Wouter
|
||||
- CFLAGS are picked up by configure from the environment.
|
||||
- iana portlist updated.
|
||||
|
|
|
|||
|
|
@ -1492,6 +1492,10 @@ dnskey_verify_rrset_sig(struct regional* region, ldns_buffer* buf,
|
|||
/* verify key dname == sig signer name */
|
||||
if(query_dname_compare(signer, dnskey->rk.dname) != 0) {
|
||||
verbose(VERB_QUERY, "verify: wrong key for rrsig");
|
||||
log_nametypeclass(VERB_QUERY, "RRSIG signername is",
|
||||
signer, 0, 0);
|
||||
log_nametypeclass(VERB_QUERY, "the key name is",
|
||||
dnskey->rk.dname, 0, 0);
|
||||
return sec_status_bogus;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue