[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.360 and 1.361

version 1.360, 2022/11/03 21:59:20 version 1.361, 2023/01/13 02:44:02
Line 1238 
Line 1238 
                 }                  }
                 /* The host key has changed. */                  /* The host key has changed. */
                 warn_changed_key(host_key);                  warn_changed_key(host_key);
                 error("Add correct host key in %.100s to get rid of this message.",                  if (num_user_hostfiles > 0 || num_system_hostfiles > 0) {
                     user_hostfiles[0]);                          error("Add correct host key in %.100s to get rid "
                               "of this message.", num_user_hostfiles > 0 ?
                               user_hostfiles[0] : system_hostfiles[0]);
                   }
                 error("Offending %s key in %s:%lu",                  error("Offending %s key in %s:%lu",
                     sshkey_type(host_found->key),                      sshkey_type(host_found->key),
                     host_found->file, host_found->line);                      host_found->file, host_found->line);

Legend:
Removed from v.1.360  
changed lines
  Added in v.1.361