[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.128.2.3 and 1.152

version 1.128.2.3, 2006/11/08 00:44:05 version 1.152, 2006/07/26 13:57:17
Line 12 
Line 12 
  * called by a name other than "ssh" or "Secure Shell".   * called by a name other than "ssh" or "Secure Shell".
  */   */
   
   #include "includes.h"
   
 #include <sys/types.h>  #include <sys/types.h>
 #include <sys/stat.h>  #include <sys/stat.h>
 #include <sys/socket.h>  
 #include <sys/param.h>  #include <sys/param.h>
   
 #include <openssl/evp.h>  #include <openssl/evp.h>
Line 23 
Line 24 
 #include <errno.h>  #include <errno.h>
 #include <fcntl.h>  #include <fcntl.h>
 #include <pwd.h>  #include <pwd.h>
 #include <stdio.h>  
 #include <stdlib.h>  #include <stdlib.h>
 #include <string.h>  #include <string.h>
 #include <unistd.h>  #include <unistd.h>
Line 34 
Line 34 
 #include "authfile.h"  #include "authfile.h"
 #include "uuencode.h"  #include "uuencode.h"
 #include "buffer.h"  #include "buffer.h"
   #include "bufaux.h"
 #include "pathnames.h"  #include "pathnames.h"
 #include "log.h"  #include "log.h"
 #include "misc.h"  #include "misc.h"
Line 215 
Line 216 
         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: "
                     "need %d have %d", bytes, buffer_len(b));                      "need %d have %d", bytes, buffer_len(b));
         if (BN_bin2bn(buffer_ptr(b), bytes, value) == NULL)          BN_bin2bn(buffer_ptr(b), bytes, value);
                 fatal("buffer_get_bignum_bits: BN_bin2bn failed");  
         buffer_consume(b, bytes);          buffer_consume(b, bytes);
 }  }
   

Legend:
Removed from v.1.128.2.3  
changed lines
  Added in v.1.152