- (djm) [monitor.c monitor_wrap.c] -Wsign-compare for PAM monitor calls

This commit is contained in:
Damien Miller 2005-07-17 17:53:31 +10:00
parent b6f72f5294
commit 04b65335a8
3 changed files with 11 additions and 8 deletions

View File

@ -24,7 +24,8 @@
knf says that a 2nd level indent is four (not three or five) spaces knf says that a 2nd level indent is four (not three or five) spaces
-(djm) [audit.c auth1.c auth2.c entropy.c loginrec.c serverloop.c] -(djm) [audit.c auth1.c auth2.c entropy.c loginrec.c serverloop.c]
[ssh-rand-helper.c] fix portable 2nd level indents at 4 spaces too [ssh-rand-helper.c] fix portable 2nd level indents at 4 spaces too
- (djm) [monitor.c monitor_wrap.c] -Wsign-compare for PAM monitor calls
20050716 20050716
- (dtucker) [auth-pam.c] Ensure that only one side of the authentication - (dtucker) [auth-pam.c] Ensure that only one side of the authentication
socketpair stays open on in both the monitor and PAM process. Patch from socketpair stays open on in both the monitor and PAM process. Patch from
@ -2857,4 +2858,4 @@
- (djm) Trim deprecated options from INSTALL. Mention UsePAM - (djm) Trim deprecated options from INSTALL. Mention UsePAM
- (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
$Id: ChangeLog,v 1.3852 2005/07/17 07:26:43 djm Exp $ $Id: ChangeLog,v 1.3853 2005/07/17 07:53:31 djm Exp $

View File

@ -869,8 +869,8 @@ int
mm_answer_pam_query(int sock, Buffer *m) mm_answer_pam_query(int sock, Buffer *m)
{ {
char *name, *info, **prompts; char *name, *info, **prompts;
u_int num, *echo_on; u_int i, num, *echo_on;
int i, ret; int ret;
debug3("%s", __func__); debug3("%s", __func__);
sshpam_authok = NULL; sshpam_authok = NULL;
@ -903,8 +903,8 @@ int
mm_answer_pam_respond(int sock, Buffer *m) mm_answer_pam_respond(int sock, Buffer *m)
{ {
char **resp; char **resp;
u_int num; u_int i, num;
int i, ret; int ret;
debug3("%s", __func__); debug3("%s", __func__);
sshpam_authok = NULL; sshpam_authok = NULL;

View File

@ -764,7 +764,8 @@ mm_sshpam_query(void *ctx, char **name, char **info,
u_int *num, char ***prompts, u_int **echo_on) u_int *num, char ***prompts, u_int **echo_on)
{ {
Buffer m; Buffer m;
int i, ret; u_int i;
int ret;
debug3("%s", __func__); debug3("%s", __func__);
buffer_init(&m); buffer_init(&m);
@ -790,7 +791,8 @@ int
mm_sshpam_respond(void *ctx, u_int num, char **resp) mm_sshpam_respond(void *ctx, u_int num, char **resp)
{ {
Buffer m; Buffer m;
int i, ret; u_int i;
int ret;
debug3("%s", __func__); debug3("%s", __func__);
buffer_init(&m); buffer_init(&m);