diff options
author | Damien Miller <djm@mindrot.org> | 2002-01-22 23:43:12 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2002-01-22 23:43:12 +1100 |
commit | 1fc2343e3523f4e018d9fdf3ed9959b3c2983b9f (patch) | |
tree | 42d0cc1d2a7434469f53cdebe9cc84255b7bf34a /auth2-pam.c | |
parent | 4fbf08a8f0cf54a2e75cd003a32cf3c04c5642e6 (diff) |
- (djm) Make auth2-pam.c compile again after dispatch.h and packet.h
changes
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 cb32ae6e..dd29ebd4 100644 --- a/auth2-pam.c +++ b/auth2-pam.c @@ -1,5 +1,5 @@ #include "includes.h" -RCSID("$Id: auth2-pam.c,v 1.11 2001/06/27 05:36:44 djm Exp $"); +RCSID("$Id: auth2-pam.c,v 1.12 2002/01/22 12:43:13 djm Exp $"); #ifdef USE_PAM #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 $"); static int do_pam_conversation_kbd_int(int num_msg, const struct pam_message **msg, struct pam_response **resp, void *appdata_ptr); -void input_userauth_info_response_pam(int type, int plen, void *ctxt); +void input_userauth_info_response_pam(int type, u_int32_t seqnr, void *ctxt); struct { int finished, num_received, num_expected; @@ -128,7 +128,7 @@ do_pam_conversation_kbd_int(int num_msg, const struct pam_message **msg, } void -input_userauth_info_response_pam(int type, int plen, void *ctxt) +input_userauth_info_response_pam(int type, u_int32_t seqnr, void *ctxt) { Authctxt *authctxt = ctxt; unsigned int nresp = 0, rlen = 0, i = 0; @@ -152,7 +152,7 @@ input_userauth_info_response_pam(int type, int plen, void *ctxt) context_pam2.finished = 1; - packet_done(); + packet_check_eom(); } #endif |