diff options
Diffstat (limited to 'lib/dns/validator.c')
| -rw-r--r-- | lib/dns/validator.c | 11 | 
1 files changed, 7 insertions, 4 deletions
| diff --git a/lib/dns/validator.c b/lib/dns/validator.c index 3d7518a2bebf8..8cf7f665ec88b 100644 --- a/lib/dns/validator.c +++ b/lib/dns/validator.c @@ -1459,8 +1459,10 @@ isselfsigned(dns_validator_t *val) {  			if (result != ISC_R_SUCCESS)  				continue; -			result = dns_dnssec_verify2(name, rdataset, dstkey, -						    ISC_TRUE, mctx, &sigrdata, +			result = dns_dnssec_verify3(name, rdataset, dstkey, +						    ISC_TRUE, +						    val->view->maxbits, +						    mctx, &sigrdata,  						    dns_fixedname_name(&fixed));  			dst_key_free(&dstkey);  			if (result != ISC_R_SUCCESS) @@ -1497,8 +1499,9 @@ verify(dns_validator_t *val, dst_key_t *key, dns_rdata_t *rdata,  	dns_fixedname_init(&fixed);  	wild = dns_fixedname_name(&fixed);   again: -	result = dns_dnssec_verify2(val->event->name, val->event->rdataset, -				    key, ignore, val->view->mctx, rdata, wild); +	result = dns_dnssec_verify3(val->event->name, val->event->rdataset, +				    key, ignore, val->view->maxbits, +				    val->view->mctx, rdata, wild);  	if ((result == DNS_R_SIGEXPIRED || result == DNS_R_SIGFUTURE) &&  	    val->view->acceptexpired)  	{ | 
