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

"got insecure response; parent indicates it should be secure" wrongly emitted [RT #19800]

This commit is contained in:
Mark Andrews 2009-06-09 22:57:09 +00:00
parent 996b4d8982
commit afbe695de3

View File

@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: validator.c,v 1.176 2009/05/07 23:47:44 tbox Exp $ */
/* $Id: validator.c,v 1.177 2009/06/09 22:57:09 marka Exp $ */
#include <config.h>
@ -3580,7 +3580,7 @@ validator_start(isc_task_t *task, isc_event_t *event) {
val->attributes |= VALATTR_INSECURITY;
result = proveunsecure(val, ISC_FALSE, ISC_FALSE);
if (result != DNS_R_NOTINSECURE)
if (result == DNS_R_NOTINSECURE)
validator_log(val, ISC_LOG_INFO,
"got insecure response; "
"parent indicates it should be secure");