diff options
author | Kevin Steves <stevesk@pobox.com> | 2002-07-23 00:44:07 +0000 |
---|---|---|
committer | Kevin Steves <stevesk@pobox.com> | 2002-07-23 00:44:07 +0000 |
commit | 38b050a0f526d1b7982deb9d19f59c95f7b91b22 (patch) | |
tree | 7594cc4c8543dd983ddbafea6170ebcacffa1847 /auth-pam.h | |
parent | 446d886fa5b295b03031de840286dbe4b7d904a3 (diff) |
- (stevesk) [auth-pam.[ch] session.c] pam_getenvlist() must be
freed by the caller; add free_pam_environment() and use it.
Diffstat (limited to 'auth-pam.h')
-rw-r--r-- | auth-pam.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/auth-pam.h b/auth-pam.h index 215e75282..7881b6b80 100644 --- a/auth-pam.h +++ b/auth-pam.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $Id: auth-pam.h,v 1.15 2002/07/21 23:59:39 stevesk Exp $ */ | 1 | /* $Id: auth-pam.h,v 1.16 2002/07/23 00:44:07 stevesk Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Copyright (c) 2000 Damien Miller. All rights reserved. | 4 | * Copyright (c) 2000 Damien Miller. All rights reserved. |
@@ -35,6 +35,7 @@ void start_pam(const char *user); | |||
35 | void finish_pam(void); | 35 | void finish_pam(void); |
36 | int auth_pam_password(Authctxt *authctxt, const char *password); | 36 | int auth_pam_password(Authctxt *authctxt, const char *password); |
37 | char **fetch_pam_environment(void); | 37 | char **fetch_pam_environment(void); |
38 | void free_pam_environment(char **env); | ||
38 | int do_pam_authenticate(int flags); | 39 | int do_pam_authenticate(int flags); |
39 | int do_pam_account(char *username, char *remote_user); | 40 | int do_pam_account(char *username, char *remote_user); |
40 | void do_pam_session(char *username, const char *ttyname); | 41 | void do_pam_session(char *username, const char *ttyname); |