diff options
Diffstat (limited to 'auth2-pam.c')
-rw-r--r-- | auth2-pam.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/auth2-pam.c b/auth2-pam.c index cb32ae6e4..dd29ebd48 100644 --- a/auth2-pam.c +++ b/auth2-pam.c | |||
@@ -1,5 +1,5 @@ | |||
1 | #include "includes.h" | 1 | #include "includes.h" |
2 | RCSID("$Id: auth2-pam.c,v 1.11 2001/06/27 05:36:44 djm Exp $"); | 2 | RCSID("$Id: auth2-pam.c,v 1.12 2002/01/22 12:43:13 djm Exp $"); |
3 | 3 | ||
4 | #ifdef USE_PAM | 4 | #ifdef USE_PAM |
5 | #include <security/pam_appl.h> | 5 | #include <security/pam_appl.h> |
@@ -16,7 +16,7 @@ RCSID("$Id: auth2-pam.c,v 1.11 2001/06/27 05:36:44 djm Exp $"); | |||
16 | static int do_pam_conversation_kbd_int(int num_msg, | 16 | static int do_pam_conversation_kbd_int(int num_msg, |
17 | const struct pam_message **msg, struct pam_response **resp, | 17 | const struct pam_message **msg, struct pam_response **resp, |
18 | void *appdata_ptr); | 18 | void *appdata_ptr); |
19 | void input_userauth_info_response_pam(int type, int plen, void *ctxt); | 19 | void input_userauth_info_response_pam(int type, u_int32_t seqnr, void *ctxt); |
20 | 20 | ||
21 | struct { | 21 | struct { |
22 | int finished, num_received, num_expected; | 22 | int finished, num_received, num_expected; |
@@ -128,7 +128,7 @@ do_pam_conversation_kbd_int(int num_msg, const struct pam_message **msg, | |||
128 | } | 128 | } |
129 | 129 | ||
130 | void | 130 | void |
131 | input_userauth_info_response_pam(int type, int plen, void *ctxt) | 131 | input_userauth_info_response_pam(int type, u_int32_t seqnr, void *ctxt) |
132 | { | 132 | { |
133 | Authctxt *authctxt = ctxt; | 133 | Authctxt *authctxt = ctxt; |
134 | unsigned int nresp = 0, rlen = 0, i = 0; | 134 | unsigned int nresp = 0, rlen = 0, i = 0; |
@@ -152,7 +152,7 @@ input_userauth_info_response_pam(int type, int plen, void *ctxt) | |||
152 | 152 | ||
153 | context_pam2.finished = 1; | 153 | context_pam2.finished = 1; |
154 | 154 | ||
155 | packet_done(); | 155 | packet_check_eom(); |
156 | } | 156 | } |
157 | 157 | ||
158 | #endif | 158 | #endif |