len = sizeof(cookie);
}
+ INSIST(msg->sitok == 0 && msg->sitbad == 0);
if (optlen >= len && optlen >= 8U) {
if (memcmp(isc_buffer_current(optbuf), sit, 8) == 0) {
msg->sitok = 1;
} else {
- printf(";; Warning: SIT client cookie part mis-match\n");
+ printf(";; Warning: SIT client cookie mismatch\n");
msg->sitbad = 1;
}
} else {
case DNS_OPT_SIT:
sit = isc_buffer_current(&optbuf);
compute_cc(query, cookie, sizeof(cookie));
+ INSIST(query->fctx->rmessage->sitbad == 0 &&
+ query->fctx->rmessage->sitok == 0);
if (optlen >= 8U &&
memcmp(cookie, sit, 8) == 0) {
query->fctx->rmessage->sitok = 1;