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

Diff for /src/usr.bin/ssh/packet.c between version 1.250 and 1.251

version 1.250, 2017/04/30 23:23:54 version 1.251, 2017/04/30 23:26:16
Line 62 
Line 62 
   
 #include "xmalloc.h"  #include "xmalloc.h"
 #include "crc32.h"  #include "crc32.h"
 #include "deattack.h"  
 #include "compat.h"  #include "compat.h"
 #include "ssh1.h"  #include "ssh1.h"
 #include "ssh2.h"  #include "ssh2.h"
Line 210 
Line 209 
         /* One-off warning about weak ciphers */          /* One-off warning about weak ciphers */
         int cipher_warning_done;          int cipher_warning_done;
   
         /* SSH1 CRC compensation attack detector */  
         struct deattack_ctx deattack;  
   
         /* Hook for fuzzing inbound packets */          /* Hook for fuzzing inbound packets */
         ssh_packet_hook_fn *hook_in;          ssh_packet_hook_fn *hook_in;
         void *hook_in_ctx;          void *hook_in_ctx;
Line 309 
Line 305 
                 return NULL;                  return NULL;
         }          }
         state->newkeys[MODE_IN] = state->newkeys[MODE_OUT] = NULL;          state->newkeys[MODE_IN] = state->newkeys[MODE_OUT] = NULL;
         deattack_init(&state->deattack);  
         /*          /*
          * Cache the IP address of the remote connection for use in error           * Cache the IP address of the remote connection for use in error
          * messages that might be generated after the connection has closed.           * messages that might be generated after the connection has closed.

Legend:
Removed from v.1.250  
changed lines
  Added in v.1.251