[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.168 and 1.169

version 1.168, 2008/06/11 21:38:25 version 1.169, 2008/06/11 22:20:46
Line 64 
Line 64 
   
 int quiet = 0;  int quiet = 0;
   
   int log_level = SYSLOG_LEVEL_INFO;
   
 /* Flag indicating that we want to hash a known_hosts file */  /* Flag indicating that we want to hash a known_hosts file */
 int hash_hosts = 0;  int hash_hosts = 0;
 /* Flag indicating that we want lookup a host in known_hosts file */  /* Flag indicating that we want lookup a host in known_hosts file */
Line 516 
Line 518 
                 fp = key_fingerprint(public, fptype, rep);                  fp = key_fingerprint(public, fptype, rep);
                 ra = key_fingerprint(public, fptype, SSH_FP_RANDOMART);                  ra = key_fingerprint(public, fptype, SSH_FP_RANDOMART);
                 printf("%u %s %s\n", key_size(public), fp, comment);                  printf("%u %s %s\n", key_size(public), fp, comment);
                 verbose("%s", ra);                  if (log_level >= SYSLOG_LEVEL_VERBOSE)
                           printf("%s\n", ra);
                 key_free(public);                  key_free(public);
                 xfree(comment);                  xfree(comment);
                 xfree(ra);                  xfree(ra);
Line 580 
Line 583 
                         ra = key_fingerprint(public, fptype, SSH_FP_RANDOMART);                          ra = key_fingerprint(public, fptype, SSH_FP_RANDOMART);
                         printf("%u %s %s\n", key_size(public), fp,                          printf("%u %s %s\n", key_size(public), fp,
                             comment ? comment : "no comment");                              comment ? comment : "no comment");
                         verbose("%s\n", ra);                          if (log_level >= SYSLOG_LEVEL_VERBOSE)
                                   printf("%s\n", ra);
                         xfree(ra);                          xfree(ra);
                         xfree(fp);                          xfree(fp);
                         key_free(public);                          key_free(public);
Line 1070 
Line 1074 
         int opt, type, fd, download = 0;          int opt, type, fd, download = 0;
         u_int32_t memory = 0, generator_wanted = 0, trials = 100;          u_int32_t memory = 0, generator_wanted = 0, trials = 100;
         int do_gen_candidates = 0, do_screen_candidates = 0;          int do_gen_candidates = 0, do_screen_candidates = 0;
         int log_level = SYSLOG_LEVEL_INFO;  
         BIGNUM *start = NULL;          BIGNUM *start = NULL;
         FILE *f;          FILE *f;
         const char *errstr;          const char *errstr;

Legend:
Removed from v.1.168  
changed lines
  Added in v.1.169