[BACK]Return to dighost.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / dig

Diff for /src/usr.bin/dig/dighost.c between version 1.24 and 1.25

version 1.24, 2020/02/25 17:01:56 version 1.25, 2020/02/25 18:10:17
Line 58 
Line 58 
 #include <isc/netaddr.h>  #include <isc/netaddr.h>
 #include <isc/parseint.h>  #include <isc/parseint.h>
 #include <isc/result.h>  #include <isc/result.h>
 #include <isc/safe.h>  
 #include <isc/serial.h>  #include <isc/serial.h>
 #include <isc/sockaddr.h>  #include <isc/sockaddr.h>
 #include <isc/task.h>  #include <isc/task.h>
Line 3188 
Line 3187 
   
         INSIST(msg->sitok == 0 && msg->sitbad == 0);          INSIST(msg->sitok == 0 && msg->sitbad == 0);
         if (optlen >= len && optlen >= 8U) {          if (optlen >= len && optlen >= 8U) {
                 if (isc_safe_memequal(isc_buffer_current(optbuf), sit, 8)) {                  if (timingsafe_bcmp(isc_buffer_current(optbuf), sit, 8) == 0) {
                         msg->sitok = 1;                          msg->sitok = 1;
                 } else {                  } else {
                         printf(";; Warning: SIT client cookie mismatch\n");                          printf(";; Warning: SIT client cookie mismatch\n");

Legend:
Removed from v.1.24  
changed lines
  Added in v.1.25