summaryrefslogtreecommitdiff
path: root/auth-pam.c
diff options
context:
space:
mode:
Diffstat (limited to 'auth-pam.c')
-rw-r--r--auth-pam.c10
1 files changed, 5 insertions, 5 deletions
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)