mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-28 04:34:54 -04:00
2877. [bug] The validator failed to skip obviously mismatching
RRSIGs. [RT #21138]
This commit is contained in:
parent
ac897ce3b9
commit
fd95cc0da9
2 changed files with 5 additions and 2 deletions
3
CHANGES
3
CHANGES
|
|
@ -1,3 +1,6 @@
|
|||
2877. [bug] The validator failed to skip obviously mismatching
|
||||
RRSIGs. [RT #21138]
|
||||
|
||||
2876. [bug] Named could return SERVFAIL for negative responses
|
||||
from unsigned zones. [RT #21131]
|
||||
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: validator.c,v 1.189 2010/04/21 04:16:49 marka Exp $ */
|
||||
/* $Id: validator.c,v 1.190 2010/04/21 05:45:47 marka Exp $ */
|
||||
|
||||
#include <config.h>
|
||||
|
||||
|
|
@ -2119,7 +2119,7 @@ dlv_validatezonekey(dns_validator_t *val) {
|
|||
&sigrdata);
|
||||
result = dns_rdata_tostruct(&sigrdata, &sig, NULL);
|
||||
RUNTIME_CHECK(result == ISC_R_SUCCESS);
|
||||
if (dlv.key_tag != sig.keyid &&
|
||||
if (dlv.key_tag != sig.keyid ||
|
||||
dlv.algorithm != sig.algorithm)
|
||||
continue;
|
||||
dstkey = NULL;
|
||||
|
|
|
|||
Loading…
Reference in a new issue