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

Diff for /src/usr.bin/ssh/ssh-keygen.c between version 1.314 and 1.315

version 1.314, 2018/03/12 00:52:01 version 1.315, 2018/06/01 03:51:34
Line 1238 
Line 1238 
                 }                  }
                 inplace = 1;                  inplace = 1;
         }          }
   
         /* XXX support identity_file == "-" for stdin */          /* XXX support identity_file == "-" for stdin */
         foreach_options = find_host ? HKF_WANT_MATCH : 0;          foreach_options = find_host ? HKF_WANT_MATCH : 0;
         foreach_options |= print_fingerprint ? HKF_WANT_PARSE_KEY : 0;          foreach_options |= print_fingerprint ? HKF_WANT_PARSE_KEY : 0;
         if ((r = hostkeys_foreach(identity_file,          if ((r = hostkeys_foreach(identity_file, (find_host || !hash_hosts) ?
             hash_hosts ? known_hosts_hash : known_hosts_find_delete, &ctx,              known_hosts_find_delete : known_hosts_hash, &ctx, name, NULL,
             name, NULL, foreach_options)) != 0) {              foreach_options)) != 0) {
                 if (inplace)                  if (inplace)
                         unlink(tmp);                          unlink(tmp);
                 fatal("%s: hostkeys_foreach failed: %s", __func__, ssh_err(r));                  fatal("%s: hostkeys_foreach failed: %s", __func__, ssh_err(r));

Legend:
Removed from v.1.314  
changed lines
  Added in v.1.315