2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-29 05:28:00 +00:00

2869. [bug] Fix arguments to dns_keytable_findnextkeynode() call.

[RT #20877]
This commit is contained in:
Mark Andrews 2010-03-26 17:12:48 +00:00
parent b1fa56e8da
commit b8d036c434
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,6 @@
2869. [bug] Fix arguments to dns_keytable_findnextkeynode() call.
[RT #20877]
2868. [cleanup] Run "make clean" at the end of configure to ensure
any changes made by configure are integrated.
Use --with-make-clean=no to disable. [RT #20994]

View File

@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: validator.c,v 1.187 2010/03/04 23:50:34 tbox Exp $ */
/* $Id: validator.c,v 1.188 2010/03/26 17:12:48 marka Exp $ */
#include <config.h>
@ -2211,7 +2211,7 @@ validatezonekey(dns_validator_t *val) {
result == ISC_R_SUCCESS;
result = dns_rdataset_next(val->event->sigrdataset))
{
dns_keynode_t *keynode = NULL, *nextnode = NULL;
dns_keynode_t *keynode = NULL;
dns_rdata_reset(&sigrdata);
dns_rdataset_current(val->event->sigrdataset,
@ -2231,6 +2231,7 @@ validatezonekey(dns_validator_t *val) {
result == ISC_R_SUCCESS)
atsep = ISC_TRUE;
while (result == ISC_R_SUCCESS) {
dns_keynode_t *nextnode = NULL;
dstkey = dns_keynode_key(keynode);
if (dstkey == NULL) {
dns_keytable_detachkeynode(