From 287077eaf2db7115a08f0fa9bd811ddda6119209 Mon Sep 17 00:00:00 2001 From: Kevin Steves Date: Sun, 21 Jul 2002 23:59:39 +0000 Subject: - (stevesk) [auth-pam.[ch] ssh.h] move SSHD_PAM_SERVICE to auth-pam.h --- auth-pam.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'auth-pam.h') diff --git a/auth-pam.h b/auth-pam.h index 8cb7389e1..215e75282 100644 --- a/auth-pam.h +++ b/auth-pam.h @@ -1,4 +1,4 @@ -/* $Id: auth-pam.h,v 1.14 2002/07/21 23:20:07 stevesk Exp $ */ +/* $Id: auth-pam.h,v 1.15 2002/07/21 23:59:39 stevesk Exp $ */ /* * Copyright (c) 2000 Damien Miller. All rights reserved. @@ -27,6 +27,10 @@ #include "includes.h" #ifdef USE_PAM +#if !defined(SSHD_PAM_SERVICE) +# define SSHD_PAM_SERVICE __progname +#endif + void start_pam(const char *user); void finish_pam(void); int auth_pam_password(Authctxt *authctxt, const char *password); -- cgit v1.2.3