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

Diff for /src/usr.bin/ssh/ssh-keyscan.c between version 1.139 and 1.140

version 1.139, 2021/01/27 09:26:54 version 1.140, 2021/10/02 03:17:01
Line 287 
Line 287 
 static void  static void
 keyprint_one(const char *host, struct sshkey *key)  keyprint_one(const char *host, struct sshkey *key)
 {  {
         char *hostport;          char *hostport = NULL, *hashed = NULL;
         const char *known_host, *hashed;          const char *known_host;
   
         found_one = 1;          found_one = 1;
   
Line 306 
Line 306 
                 fprintf(stdout, "%s ", known_host);                  fprintf(stdout, "%s ", known_host);
         sshkey_write(key, stdout);          sshkey_write(key, stdout);
         fputs("\n", stdout);          fputs("\n", stdout);
           free(hashed);
         free(hostport);          free(hostport);
 }  }
   

Legend:
Removed from v.1.139  
changed lines
  Added in v.1.140