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

Diff for /src/usr.bin/ssh/sshconnect.c between version 1.12 and 1.13

version 1.12, 1999/10/03 21:50:04 version 1.13, 1999/10/03 22:01:39
Line 1058 
Line 1058 
   packet_get_bignum(host_key->n, &clen);    packet_get_bignum(host_key->n, &clen);
   sum_len += clen;    sum_len += clen;
   
   if (options->check_host_ip && strcmp(host, inet_ntoa(hostaddr->sin_addr))) {    /* Store the host key from the known host file in here
     /* Store the host key from the known host file in here     * so that we can compare it with the key for the IP
      * so that we can compare it with the key for the IP     * address. */
      * address. */    file_key = RSA_new();
     file_key = RSA_new();    file_key->n = BN_new();
     file_key->n = BN_new();    file_key->e = BN_new();
     file_key->e = BN_new();  
   }  
   
   /* Get protocol flags. */    /* Get protocol flags. */
   protocol_flags = packet_get_int();    protocol_flags = packet_get_int();
Line 1135 
Line 1133 
       ip_status = HOST_DIFFER;        ip_status = HOST_DIFFER;
   
     RSA_free(ip_key);      RSA_free(ip_key);
     RSA_free(file_key);  
   } else    } else
     ip_status = host_status;      ip_status = host_status;
   
     RSA_free(file_key);
   
   switch (host_status) {    switch (host_status) {
   case HOST_OK:    case HOST_OK:

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.13