summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--auth-pam.c10
2 files changed, 10 insertions, 6 deletions
diff --git a/ChangeLog b/ChangeLog
index d154c4d5b..a32ea4b6b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
120040603
2 - (dtucker) [auth-pam.c] Don't use pam_* namespace for sshd's PAM functions.
3 ok djm@
4
120040601 520040601
2 - (djm) [auth-pam.c] Add copyright for local changes 6 - (djm) [auth-pam.c] Add copyright for local changes
3 7
@@ -1177,4 +1181,4 @@
1177 - (djm) Trim deprecated options from INSTALL. Mention UsePAM 1181 - (djm) Trim deprecated options from INSTALL. Mention UsePAM
1178 - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu 1182 - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
1179 1183
1180$Id: ChangeLog,v 1.3373 2004/06/01 01:28:21 djm Exp $ 1184$Id: ChangeLog,v 1.3374 2004/06/03 04:53:12 dtucker Exp $
diff --git a/auth-pam.c b/auth-pam.c
index c99890b25..13b334ee9 100644
--- a/auth-pam.c
+++ b/auth-pam.c
@@ -47,7 +47,7 @@
47 47
48/* Based on $FreeBSD: src/crypto/openssh/auth2-pam-freebsd.c,v 1.11 2003/03/31 13:48:18 des Exp $ */ 48/* Based on $FreeBSD: src/crypto/openssh/auth2-pam-freebsd.c,v 1.11 2003/03/31 13:48:18 des Exp $ */
49#include "includes.h" 49#include "includes.h"
50RCSID("$Id: auth-pam.c,v 1.105 2004/06/01 01:28:20 djm Exp $"); 50RCSID("$Id: auth-pam.c,v 1.106 2004/06/03 04:53:12 dtucker Exp $");
51 51
52#ifdef USE_PAM 52#ifdef USE_PAM
53#if defined(HAVE_SECURITY_PAM_APPL_H) 53#if defined(HAVE_SECURITY_PAM_APPL_H)
@@ -782,7 +782,7 @@ do_pam_setcred(int init)
782} 782}
783 783
784static int 784static int
785pam_tty_conv(int n, const struct pam_message **msg, 785sshpam_tty_conv(int n, const struct pam_message **msg,
786 struct pam_response **resp, void *data) 786 struct pam_response **resp, void *data)
787{ 787{
788 char input[PAM_MAX_MSG_SIZE]; 788 char input[PAM_MAX_MSG_SIZE];
@@ -835,7 +835,7 @@ pam_tty_conv(int n, const struct pam_message **msg,
835 return (PAM_CONV_ERR); 835 return (PAM_CONV_ERR);
836} 836}
837 837
838static struct pam_conv tty_conv = { pam_tty_conv, NULL }; 838static struct pam_conv tty_conv = { sshpam_tty_conv, NULL };
839 839
840/* 840/*
841 * XXX this should be done in the authentication phase, but ssh1 doesn't 841 * XXX this should be done in the authentication phase, but ssh1 doesn't
@@ -859,7 +859,7 @@ do_pam_chauthtok(void)
859} 859}
860 860
861static int 861static int
862pam_store_conv(int n, const struct pam_message **msg, 862sshpam_store_conv(int n, const struct pam_message **msg,
863 struct pam_response **resp, void *data) 863 struct pam_response **resp, void *data)
864{ 864{
865 struct pam_response *reply; 865 struct pam_response *reply;
@@ -901,7 +901,7 @@ pam_store_conv(int n, const struct pam_message **msg,
901 return (PAM_CONV_ERR); 901 return (PAM_CONV_ERR);
902} 902}
903 903
904static struct pam_conv store_conv = { pam_store_conv, NULL }; 904static struct pam_conv store_conv = { sshpam_store_conv, NULL };
905 905
906void 906void
907do_pam_session(void) 907do_pam_session(void)