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

Diff for /src/usr.bin/ssh/authfile.c between version 1.36 and 1.37

version 1.36, 2001/06/07 20:23:03 version 1.37, 2001/06/23 15:12:17
Line 62 
Line 62 
  * passphrase.   * passphrase.
  */   */
   
 int  static int
 key_save_private_rsa1(Key *key, const char *filename, const char *passphrase,  key_save_private_rsa1(Key *key, const char *filename, const char *passphrase,
     const char *comment)      const char *comment)
 {  {
Line 159 
Line 159 
 }  }
   
 /* save SSH v2 key in OpenSSL PEM format */  /* save SSH v2 key in OpenSSL PEM format */
 int  static int
 key_save_private_pem(Key *key, const char *filename, const char *_passphrase,  key_save_private_pem(Key *key, const char *filename, const char *_passphrase,
     const char *comment)      const char *comment)
 {  {
Line 226 
Line 226 
  * otherwise.   * otherwise.
  */   */
   
 Key *  static Key *
 key_load_public_rsa1(int fd, const char *filename, char **commentp)  key_load_public_rsa1(int fd, const char *filename, char **commentp)
 {  {
         Buffer buffer;          Buffer buffer;
Line 306 
Line 306 
  * Assumes we are called under uid of the owner of the file.   * Assumes we are called under uid of the owner of the file.
  */   */
   
 Key *  static Key *
 key_load_private_rsa1(int fd, const char *filename, const char *passphrase,  key_load_private_rsa1(int fd, const char *filename, const char *passphrase,
     char **commentp)      char **commentp)
 {  {
Line 430 
Line 430 
         return NULL;          return NULL;
 }  }
   
 Key *  static Key *
 key_load_private_pem(int fd, int type, const char *passphrase,  key_load_private_pem(int fd, int type, const char *passphrase,
     char **commentp)      char **commentp)
 {  {
Line 481 
Line 481 
         return prv;          return prv;
 }  }
   
 int  static int
 key_perm_ok(int fd, const char *filename)  key_perm_ok(int fd, const char *filename)
 {  {
         struct stat st;          struct stat st;
Line 568 
Line 568 
         return prv;          return prv;
 }  }
   
 int  static int
 key_try_load_public(Key *k, const char *filename, char **commentp)  key_try_load_public(Key *k, const char *filename, char **commentp)
 {  {
         FILE *f;          FILE *f;

Legend:
Removed from v.1.36  
changed lines
  Added in v.1.37