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

Diff for /src/usr.bin/ssh/Attic/key.c between version 1.26 and 1.27

version 1.26, 2001/06/23 05:26:02 version 1.27, 2001/06/23 15:12:19
Line 153 
Line 153 
         return 0;          return 0;
 }  }
   
 u_char*  static u_char*
 key_fingerprint_raw(Key *k, enum fp_type dgst_type, size_t *dgst_raw_length)  key_fingerprint_raw(Key *k, enum fp_type dgst_type, size_t *dgst_raw_length)
 {  {
         EVP_MD *md = NULL;          EVP_MD *md = NULL;
Line 210 
Line 210 
         return retval;          return retval;
 }  }
   
 char*  static char*
 key_fingerprint_hex(u_char* dgst_raw, size_t dgst_raw_len)  key_fingerprint_hex(u_char* dgst_raw, size_t dgst_raw_len)
 {  {
         char *retval;          char *retval;
Line 227 
Line 227 
         return retval;          return retval;
 }  }
   
 char*  static char*
 key_fingerprint_bubblebabble(u_char* dgst_raw, size_t dgst_raw_len)  key_fingerprint_bubblebabble(u_char* dgst_raw, size_t dgst_raw_len)
 {  {
         char vowels[] = { 'a', 'e', 'i', 'o', 'u', 'y' };          char vowels[] = { 'a', 'e', 'i', 'o', 'u', 'y' };
Line 308 
Line 308 
  * last processed (and maybe modified) character.  Note that this may modify   * last processed (and maybe modified) character.  Note that this may modify
  * the buffer containing the number.   * the buffer containing the number.
  */   */
 int  static int
 read_bignum(char **cpp, BIGNUM * value)  read_bignum(char **cpp, BIGNUM * value)
 {  {
         char *cp = *cpp;          char *cp = *cpp;
Line 344 
Line 344 
         *cpp = cp;          *cpp = cp;
         return 1;          return 1;
 }  }
 int  static int
 write_bignum(FILE *f, BIGNUM *num)  write_bignum(FILE *f, BIGNUM *num)
 {  {
         char *buf = BN_bn2dec(num);          char *buf = BN_bn2dec(num);
Line 544 
Line 544 
         return 0;          return 0;
 }  }
   
 RSA *  static RSA *
 rsa_generate_private_key(u_int bits)  rsa_generate_private_key(u_int bits)
 {  {
         RSA *private;          RSA *private;
Line 554 
Line 554 
         return private;          return private;
 }  }
   
 DSA*  static DSA*
 dsa_generate_private_key(u_int bits)  dsa_generate_private_key(u_int bits)
 {  {
         DSA *private = DSA_generate_parameters(bits, NULL, 0, NULL, NULL, NULL, NULL);          DSA *private = DSA_generate_parameters(bits, NULL, 0, NULL, NULL, NULL, NULL);

Legend:
Removed from v.1.26  
changed lines
  Added in v.1.27