[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.5 and 1.6

version 1.5, 2000/09/07 20:27:49 version 1.6, 2000/10/11 20:14:38
Line 24 
Line 24 
 #ifndef AUTH_H  #ifndef AUTH_H
 #define AUTH_H  #define AUTH_H
   
   typedef struct Authctxt Authctxt;
   struct Authctxt {
           int success;
           int valid;
           int attempt;
           char *user;
           char *service;
           struct passwd *pw;
   };
   
 void    do_authentication(void);  void    do_authentication(void);
 void    do_authentication2(void);  void    do_authentication2(void);
   
 struct passwd *  void    userauth_log(Authctxt *authctxt, int authenticated, char *method);
 auth_get_user(void);  void    userauth_reply(Authctxt *authctxt, int authenticated);
   
 int allowed_user(struct passwd * pw);  int     auth2_skey(Authctxt *authctxt);
   
   int     allowed_user(struct passwd * pw);
   struct passwd * auth_get_user(void);
   
 #define AUTH_FAIL_MAX 6  #define AUTH_FAIL_MAX 6
 #define AUTH_FAIL_LOG (AUTH_FAIL_MAX/2)  #define AUTH_FAIL_LOG (AUTH_FAIL_MAX/2)
 #define AUTH_FAIL_MSG "Too many authentication failures for %.100s"  #define AUTH_FAIL_MSG "Too many authentication failures for %.100s"
   
 #endif  #endif
   

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6