- (djm) Make auth2-pam.c compile again after dispatch.h and packet.h
  changes
diff --git a/ChangeLog b/ChangeLog
index 0ebcb35..5267ec3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -226,6 +226,8 @@
    - stevesk@cvs.openbsd.org 2002/01/22 02:52:41
      [servconf.c]
      typo in error message; from djast@cs.toronto.edu
+ - (djm) Make auth2-pam.c compile again after dispatch.h and packet.h 
+   changes
 
 20020121
  - (djm) Rework ssh-rand-helper:
@@ -7373,4 +7375,4 @@
  - Wrote replacements for strlcpy and mkdtemp
  - Released 1.0pre1
 
-$Id: ChangeLog,v 1.1786 2002/01/22 12:35:09 djm Exp $
+$Id: ChangeLog,v 1.1787 2002/01/22 12:43:12 djm Exp $
diff --git a/auth2-pam.c b/auth2-pam.c
index cb32ae6..dd29ebd 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 @@
 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 @@
 }
 
 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 @@
 
 	context_pam2.finished = 1;
 
-	packet_done();
+	packet_check_eom();
 }
 
 #endif