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

Diff for /src/usr.bin/ssh/hostfile.c between version 1.92 and 1.93

version 1.92, 2021/10/02 03:17:01 version 1.93, 2022/01/06 22:02:52
Line 635 
Line 635 
         /* Re-add the requested keys */          /* Re-add the requested keys */
         want = HKF_MATCH_HOST | (ip == NULL ? 0 : HKF_MATCH_IP);          want = HKF_MATCH_HOST | (ip == NULL ? 0 : HKF_MATCH_IP);
         for (i = 0; i < nkeys; i++) {          for (i = 0; i < nkeys; i++) {
                 if ((want & ctx.match_keys[i]) == want)                  if (keys[i] == NULL || (want & ctx.match_keys[i]) == want)
                         continue;                          continue;
                 if ((fp = sshkey_fingerprint(keys[i], hash_alg,                  if ((fp = sshkey_fingerprint(keys[i], hash_alg,
                     SSH_FP_DEFAULT)) == NULL) {                      SSH_FP_DEFAULT)) == NULL) {

Legend:
Removed from v.1.92  
changed lines
  Added in v.1.93