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

Diff for /src/usr.bin/ssh/auth.h between version 1.12 and 1.13

version 1.12, 2001/02/22 21:59:43 version 1.13, 2001/03/20 18:57:04
Line 28 
Line 28 
   
 #include <openssl/rsa.h>  #include <openssl/rsa.h>
   
   #ifdef HAVE_LOGIN_CAP
   #include <login_cap.h>
   #endif
   #ifdef BSD_AUTH
   #include <bsd_auth.h>
   #endif
   
 typedef struct Authctxt Authctxt;  typedef struct Authctxt Authctxt;
 struct Authctxt {  struct Authctxt {
         int success;          int success;
Line 39 
Line 46 
         char *service;          char *service;
         struct passwd *pw;          struct passwd *pw;
         char *style;          char *style;
   #ifdef BSD_AUTH
           auth_session_t *as;
   #endif
 };  };
   
 /*  /*
Line 59 
Line 69 
  * Tries to authenticate the user using password.  Returns true if   * Tries to authenticate the user using password.  Returns true if
  * authentication succeeds.   * authentication succeeds.
  */   */
 int     auth_password(struct passwd * pw, const char *password);  int     auth_password(Authctxt *authctxt, const char *password);
   
 /*  /*
  * Performs the RSA authentication dialog with the client.  This returns 0 if   * Performs the RSA authentication dialog with the client.  This returns 0 if

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.13