diff options
author | djm@openbsd.org <djm@openbsd.org> | 2018-03-03 03:15:51 +0000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2018-03-03 14:37:16 +1100 |
commit | 7c856857607112a3dfe6414696bf4c7ab7fb0cb3 (patch) | |
tree | 48c837fc9c9e11d64862d4f54c1a886b54d8721c /auth-pam.h | |
parent | 90c4bec8b5f9ec4c003ae4abdf13fc7766f00c8b (diff) |
upstream: switch over to the new authorized_keys options API and
remove the legacy one.
Includes a fairly big refactor of auth2-pubkey.c to retain less state
between key file lines.
feedback and ok markus@
OpenBSD-Commit-ID: dece6cae0f47751b9892080eb13d6625599573df
Diffstat (limited to 'auth-pam.h')
-rw-r--r-- | auth-pam.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/auth-pam.h b/auth-pam.h index c47b442e4..419860745 100644 --- a/auth-pam.h +++ b/auth-pam.h | |||
@@ -25,10 +25,12 @@ | |||
25 | #include "includes.h" | 25 | #include "includes.h" |
26 | #ifdef USE_PAM | 26 | #ifdef USE_PAM |
27 | 27 | ||
28 | struct ssh; | ||
29 | |||
28 | void start_pam(Authctxt *); | 30 | void start_pam(Authctxt *); |
29 | void finish_pam(void); | 31 | void finish_pam(void); |
30 | u_int do_pam_account(void); | 32 | u_int do_pam_account(void); |
31 | void do_pam_session(void); | 33 | void do_pam_session(struct ssh *); |
32 | void do_pam_setcred(int ); | 34 | void do_pam_setcred(int ); |
33 | void do_pam_chauthtok(void); | 35 | void do_pam_chauthtok(void); |
34 | int do_pam_putenv(char *, char *); | 36 | int do_pam_putenv(char *, char *); |