reviewed: marka/bwelling

1247.   [bug]           The validator would incorrectly mark data as insecure
                        when seeing a bogus signature before a correct
                        signature.
This commit is contained in:
Mark Andrews 2002-07-15 03:02:56 +00:00
parent 0d4c51dfd6
commit 0b2aba2cd2
2 changed files with 8 additions and 3 deletions

View file

@ -1,3 +1,7 @@
1247. [bug] The validator would incorrectly mark data as insecure
when seeing a bogus signature before a correct
signature.
1246. [bug] DNAME/CNAME signatures were not being cached when
validation was not being performed. [RT #3284]

View file

@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: validator.c,v 1.91.2.2 2002/07/02 04:02:23 marka Exp $ */
/* $Id: validator.c,v 1.91.2.3 2002/07/15 03:02:56 marka Exp $ */
#include <config.h>
@ -1098,11 +1098,12 @@ validate(dns_validator_t *val, isc_boolean_t resume) {
validator_log(val, ISC_LOG_DEBUG(3),
"marking as secure");
return (result);
}
else
} else {
validator_log(val, ISC_LOG_DEBUG(3),
"verify failure: %s",
isc_result_totext(result));
resume = ISC_FALSE;
}
}
if (result != ISC_R_NOMORE) {
validator_log(val, ISC_LOG_DEBUG(3),