From 1fc2343e3523f4e018d9fdf3ed9959b3c2983b9f Mon Sep 17 00:00:00 2001 From: Damien Miller Date: Tue, 22 Jan 2002 23:43:12 +1100 Subject: - (djm) Make auth2-pam.c compile again after dispatch.h and packet.h changes --- auth2-pam.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'auth2-pam.c') 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 @@ #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 @@ -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 -- cgit v1.2.3