Commit afbe695d authored by Mark Andrews's avatar Mark Andrews
Browse files

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

parent 996b4d89
......@@ -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");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment