[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.32.2.3 and 1.49

version 1.32.2.3, 2001/03/21 19:46:30 version 1.49, 2001/03/11 22:33:24
Line 349 
Line 349 
                         debug("try_load_public_key KEY_UNSPEC failed");                          debug("try_load_public_key KEY_UNSPEC failed");
         }          }
         if (success) {          if (success) {
                 fp = key_fingerprint(public, type, rep);                  fp = key_fingerprint_ex(public, type, rep);
                 printf("%d %s %s\n", key_size(public),                  printf("%d %s %s\n", key_size(public),
                     fp, comment);                      fp, comment);
                 key_free(public);                  key_free(public);
Line 405 
Line 405 
                                 }                                  }
                         }                          }
                         comment = *cp ? cp : comment;                          comment = *cp ? cp : comment;
                         fp = key_fingerprint(public, type, rep);                          fp = key_fingerprint_ex(public, type, rep);
                         printf("%d %s %s\n", key_size(public), fp,                          printf("%d %s %s\n", key_size(public), fp,
                             comment ? comment : "no comment");                              comment ? comment : "no comment");
                         xfree(fp);                          xfree(fp);
Line 850 
Line 850 
         fclose(f);          fclose(f);
   
         if (!quiet) {          if (!quiet) {
                 char *fp = key_fingerprint(public, SSH_FP_MD5, SSH_FP_HEX);  
                 printf("Your public key has been saved in %s.\n",                  printf("Your public key has been saved in %s.\n",
                     identity_file);                      identity_file);
                 printf("The key fingerprint is:\n");                  printf("The key fingerprint is:\n");
                 printf("%s %s\n", fp, comment);                  printf("%s %s\n", key_fingerprint(public), comment);
                 xfree(fp);  
         }          }
   
         key_free(public);          key_free(public);

Legend:
Removed from v.1.32.2.3  
changed lines
  Added in v.1.49