[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.97 and 1.98

version 1.97, 2001/02/15 23:19:59 version 1.98, 2001/03/04 17:42:28
Line 610 
Line 610 
                             "Are you sure you want to continue connecting (yes/no)? ",                              "Are you sure you want to continue connecting (yes/no)? ",
                             host, ip, type, key_fingerprint(host_key));                              host, ip, type, key_fingerprint(host_key));
                         if (!read_yes_or_no(prompt, -1))                          if (!read_yes_or_no(prompt, -1))
                                 fatal("Aborted by user!\n");                                  fatal("Aborted by user!");
                 }                  }
                 if (options.check_host_ip && ip_status == HOST_NEW) {                  if (options.check_host_ip && ip_status == HOST_NEW) {
                         snprintf(hostline, sizeof(hostline), "%s,%s", host, ip);                          snprintf(hostline, sizeof(hostline), "%s,%s", host, ip);
Line 711 
Line 711 
                 } else if (options.strict_host_key_checking == 2) {                  } else if (options.strict_host_key_checking == 2) {
                         if (!read_yes_or_no("Are you sure you want " \                          if (!read_yes_or_no("Are you sure you want " \
                             "to continue connecting (yes/no)? ", -1))                              "to continue connecting (yes/no)? ", -1))
                                 fatal("Aborted by user!\n");                                  fatal("Aborted by user!");
                 }                  }
         }          }
   

Legend:
Removed from v.1.97  
changed lines
  Added in v.1.98