[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.35.2.4 and 1.36

version 1.35.2.4, 2002/10/11 14:51:52 version 1.36, 2002/05/12 23:53:45
Line 43 
Line 43 
 #endif  #endif
   
 typedef struct Authctxt Authctxt;  typedef struct Authctxt Authctxt;
 typedef struct Authmethod Authmethod;  
 typedef struct KbdintDevice KbdintDevice;  typedef struct KbdintDevice KbdintDevice;
   
 struct Authctxt {  struct Authctxt {
Line 72 
Line 71 
 #endif  #endif
 };  };
   
 struct Authmethod {  
         char    *name;  
         int     (*userauth)(Authctxt *authctxt);  
         int     *enabled;  
 };  
   
 /*  /*
  * Keyboard interactive device:   * Keyboard interactive device:
  * init_ctx     returns: non NULL upon success   * init_ctx     returns: non NULL upon success
Line 113 
Line 106 
   
 #ifdef KRB4  #ifdef KRB4
 #include <krb.h>  #include <krb.h>
 int     auth_krb4(Authctxt *, KTEXT, char **, KTEXT);  int     auth_krb4(Authctxt *, KTEXT, char **);
 int     auth_krb4_password(Authctxt *, const char *);  int     auth_krb4_password(Authctxt *, const char *);
 void    krb4_cleanup_proc(void *);  void    krb4_cleanup_proc(void *);
   
Line 126 
Line 119 
 #endif /* KRB4 */  #endif /* KRB4 */
   
 #ifdef KRB5  #ifdef KRB5
 int     auth_krb5(Authctxt *authctxt, krb5_data *auth, char **client, krb5_data *);  int     auth_krb5(Authctxt *authctxt, krb5_data *auth, char **client);
 int     auth_krb5_tgt(Authctxt *authctxt, krb5_data *tgt);  int     auth_krb5_tgt(Authctxt *authctxt, krb5_data *tgt);
 int     auth_krb5_password(Authctxt *authctxt, const char *password);  int     auth_krb5_password(Authctxt *authctxt, const char *password);
 void    krb5_cleanup_proc(void *authctxt);  void    krb5_cleanup_proc(void *authctxt);
Line 175 
Line 168 
 Key     *get_hostkey_by_type(int);  Key     *get_hostkey_by_type(int);
 int      get_hostkey_index(Key *);  int      get_hostkey_index(Key *);
 int      ssh1_session_key(BIGNUM *);  int      ssh1_session_key(BIGNUM *);
   
 /* debug messages during authentication */  
 void     auth_debug_add(const char *fmt,...) __attribute__((format(printf, 1, 2)));  
 void     auth_debug_send(void);  
 void     auth_debug_reset(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)

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