[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.94 and 1.95

version 1.94, 2018/01/08 15:21:49 version 1.95, 2018/03/03 03:15:51
Line 37 
Line 37 
 #include <krb5.h>  #include <krb5.h>
 #endif  #endif
   
   struct passwd;
 struct ssh;  struct ssh;
   struct sshbuf;
 struct sshkey;  struct sshkey;
   struct sshauthopt;
   
 typedef struct Authctxt Authctxt;  typedef struct Authctxt Authctxt;
 typedef struct Authmethod Authmethod;  typedef struct Authmethod Authmethod;
Line 118 
Line 121 
 int  int
 auth_rhosts2(struct passwd *, const char *, const char *, const char *);  auth_rhosts2(struct passwd *, const char *, const char *, const char *);
   
 int      auth_password(Authctxt *, const char *);  int      auth_password(struct ssh *, const char *);
   
 int      hostbased_key_allowed(struct passwd *, const char *, char *,  int      hostbased_key_allowed(struct passwd *, const char *, char *,
             struct sshkey *);              struct sshkey *);
 int      user_key_allowed(struct passwd *, struct sshkey *, int);  int      user_key_allowed(struct ssh *, struct passwd *, struct sshkey *, int,
       struct sshauthopt **);
 int      auth2_key_already_used(Authctxt *, const struct sshkey *);  int      auth2_key_already_used(Authctxt *, const struct sshkey *);
   
 /*  /*
Line 148 
Line 152 
 void    auth_log(Authctxt *, int, int, const char *, const char *);  void    auth_log(Authctxt *, int, int, const char *, const char *);
 void    auth_maxtries_exceeded(Authctxt *) __attribute__((noreturn));  void    auth_maxtries_exceeded(Authctxt *) __attribute__((noreturn));
 void    userauth_finish(struct ssh *, int, const char *, const char *);  void    userauth_finish(struct ssh *, int, const char *, const char *);
 int     auth_root_allowed(const char *);  int     auth_root_allowed(struct ssh *, const char *);
   
 char    *auth2_read_banner(void);  char    *auth2_read_banner(void);
 int      auth2_methods_valid(const char *, int);  int      auth2_methods_valid(const char *, int);
Line 188 
Line 192 
 int      sshd_hostkey_sign(struct sshkey *, struct sshkey *, u_char **,  int      sshd_hostkey_sign(struct sshkey *, struct sshkey *, u_char **,
              size_t *, const u_char *, size_t, const char *, u_int);               size_t *, const u_char *, size_t, const char *, u_int);
   
   /* Key / cert options linkage to auth layer */
   const struct sshauthopt *auth_options(struct ssh *);
   int      auth_activate_options(struct ssh *, struct sshauthopt *);
   void     auth_restrict_session(struct ssh *);
   int      auth_authorise_keyopts(struct ssh *, struct passwd *pw,
       struct sshauthopt *, int, const char *);
   void     auth_log_authopts(const char *, const struct sshauthopt *, int);
   
 /* debug messages during authentication */  /* debug messages during authentication */
 void     auth_debug_add(const char *fmt,...) __attribute__((format(printf, 1, 2)));  void     auth_debug_add(const char *fmt,...)
       __attribute__((format(printf, 1, 2)));
 void     auth_debug_send(void);  void     auth_debug_send(void);
 void     auth_debug_reset(void);  void     auth_debug_reset(void);
   

Legend:
Removed from v.1.94  
changed lines
  Added in v.1.95