[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.32 and 1.33

version 1.32, 1999/11/16 20:44:42 version 1.33, 1999/11/16 22:49:28
Line 1199 
Line 1199 
         fatal("No host key is known for %.200s and you have requested strict checking.", host);          fatal("No host key is known for %.200s and you have requested strict checking.", host);
       } else if (options.strict_host_key_checking == 2) { /* The default */        } else if (options.strict_host_key_checking == 2) { /* The default */
         char prompt[1024];          char prompt[1024];
           char *fp = fingerprint(host_key->e, host_key->n);
         snprintf(prompt, sizeof(prompt),          snprintf(prompt, sizeof(prompt),
                  "The authenticity of host '%.200s' can't be established.\n"                   "The authenticity of host '%.200s' can't be established.\n"
                  "Are you sure you want to continue connecting (yes/no)? ",                   "Key fingerprint is %d %s.\n"
                  host);                   "Are you sure you want to continue connecting (yes/no)? ",
                    host, BN_num_bits(host_key->n), fp);
         if (!read_yes_or_no(prompt, -1))          if (!read_yes_or_no(prompt, -1))
           fatal("Aborted by user!\n");            fatal("Aborted by user!\n");
       }        }

Legend:
Removed from v.1.32  
changed lines
  Added in v.1.33