[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.113.2.1 and 1.115

version 1.113.2.1, 2004/08/19 04:13:27 version 1.115, 2004/05/09 00:06:47
Line 188 
Line 188 
 static void  static void
 buffer_get_bignum_bits(Buffer *b, BIGNUM *value)  buffer_get_bignum_bits(Buffer *b, BIGNUM *value)
 {  {
         u_int bignum_bits = buffer_get_int(b);          u_int bits = buffer_get_int(b);
         u_int bytes = (bignum_bits + 7) / 8;          u_int bytes = (bits + 7) / 8;
   
         if (buffer_len(b) < bytes)          if (buffer_len(b) < bytes)
                 fatal("buffer_get_bignum_bits: input buffer too small: "                  fatal("buffer_get_bignum_bits: input buffer too small: "
Line 626 
Line 626 
  * Print the SSHFP RR.   * Print the SSHFP RR.
  */   */
 static void  static void
 do_print_resource_record(struct passwd *pw, char *hname)  do_print_resource_record(struct passwd *pw, char *hostname)
 {  {
         Key *public;          Key *public;
         char *comment = NULL;          char *comment = NULL;
Line 640 
Line 640 
         }          }
         public = key_load_public(identity_file, &comment);          public = key_load_public(identity_file, &comment);
         if (public != NULL) {          if (public != NULL) {
                 export_dns_rr(hname, public, stdout, print_generic);                  export_dns_rr(hostname, public, stdout, print_generic);
                 key_free(public);                  key_free(public);
                 xfree(comment);                  xfree(comment);
                 exit(0);                  exit(0);
Line 890 
Line 890 
                         if (log_level == SYSLOG_LEVEL_INFO)                          if (log_level == SYSLOG_LEVEL_INFO)
                                 log_level = SYSLOG_LEVEL_DEBUG1;                                  log_level = SYSLOG_LEVEL_DEBUG1;
                         else {                          else {
                                 if (log_level >= SYSLOG_LEVEL_DEBUG1 &&                                  if (log_level >= SYSLOG_LEVEL_DEBUG1 &&
                                     log_level < SYSLOG_LEVEL_DEBUG3)                                      log_level < SYSLOG_LEVEL_DEBUG3)
                                         log_level++;                                          log_level++;
                         }                          }

Legend:
Removed from v.1.113.2.1  
changed lines
  Added in v.1.115