- (djm) Make auth2-pam.c compile again after dispatch.h and packet.h

changes
This commit is contained in:
Damien Miller 2002-01-22 23:43:12 +11:00
Родитель 4fbf08a8f0
Коммит 1fc2343e35
2 изменённых файлов: 7 добавлений и 5 удалений

Просмотреть файл

@ -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 $

Просмотреть файл

@ -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