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

Diff for /src/usr.bin/ssh/Attic/auth-rsa.c between version 1.29 and 1.30

version 1.29, 2000/09/07 21:13:36 version 1.30, 2000/10/03 18:03:03
Line 29 
Line 29 
 #include <openssl/rsa.h>  #include <openssl/rsa.h>
 #include <openssl/md5.h>  #include <openssl/md5.h>
   
   
   /* import */
   extern ServerOptions options;
   
 /*  /*
  * Session identifier that is used to bind key exchange and authentication   * Session identifier that is used to bind key exchange and authentication
  * responses to a particular session.   * responses to a particular session.
Line 116 
Line 120 
 int  int
 auth_rsa(struct passwd *pw, BIGNUM *client_n)  auth_rsa(struct passwd *pw, BIGNUM *client_n)
 {  {
         extern ServerOptions options;  
         char line[8192], file[1024];          char line[8192], file[1024];
         int authenticated;          int authenticated;
         unsigned int bits;          unsigned int bits;
Line 124 
Line 127 
         unsigned long linenum = 0;          unsigned long linenum = 0;
         struct stat st;          struct stat st;
         RSA *pk;          RSA *pk;
   
           /* no user given */
           if (pw == NULL)
                   return 0;
   
         /* Temporarily use the user's uid. */          /* Temporarily use the user's uid. */
         temporarily_use_uid(pw->pw_uid);          temporarily_use_uid(pw->pw_uid);

Legend:
Removed from v.1.29  
changed lines
  Added in v.1.30