diff options
author | Kevin Steves <stevesk@pobox.com> | 2002-07-21 23:59:39 +0000 |
---|---|---|
committer | Kevin Steves <stevesk@pobox.com> | 2002-07-21 23:59:39 +0000 |
commit | 287077eaf2db7115a08f0fa9bd811ddda6119209 (patch) | |
tree | b34d58b07fffdc3bc3c5ca326ae3e8c9dd4dcb70 /auth-pam.h | |
parent | 21e04eb2be1e6a621148b29ac6f57f2677dedc21 (diff) |
- (stevesk) [auth-pam.[ch] ssh.h] move SSHD_PAM_SERVICE to auth-pam.h
Diffstat (limited to 'auth-pam.h')
-rw-r--r-- | auth-pam.h | 6 |
1 files changed, 5 insertions, 1 deletions
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 @@ | |||
1 | /* $Id: auth-pam.h,v 1.14 2002/07/21 23:20:07 stevesk Exp $ */ | 1 | /* $Id: auth-pam.h,v 1.15 2002/07/21 23:59:39 stevesk Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Copyright (c) 2000 Damien Miller. All rights reserved. | 4 | * Copyright (c) 2000 Damien Miller. All rights reserved. |
@@ -27,6 +27,10 @@ | |||
27 | #include "includes.h" | 27 | #include "includes.h" |
28 | #ifdef USE_PAM | 28 | #ifdef USE_PAM |
29 | 29 | ||
30 | #if !defined(SSHD_PAM_SERVICE) | ||
31 | # define SSHD_PAM_SERVICE __progname | ||
32 | #endif | ||
33 | |||
30 | void start_pam(const char *user); | 34 | void start_pam(const char *user); |
31 | void finish_pam(void); | 35 | void finish_pam(void); |
32 | int auth_pam_password(Authctxt *authctxt, const char *password); | 36 | int auth_pam_password(Authctxt *authctxt, const char *password); |