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
@@ -1,4 +1,4 @@ -/* $Id: auth-pam.h,v 1.15 2002/07/21 23:59:39 stevesk Exp $ */ +/* $Id: auth-pam.h,v 1.16 2002/07/23 00:44:07 stevesk Exp $ */ /* * Copyright (c) 2000 Damien Miller. All rights reserved. @@ -35,6 +35,7 @@ void start_pam(const char *user); void finish_pam(void); int auth_pam_password(Authctxt *authctxt, const char *password); char **fetch_pam_environment(void); +void free_pam_environment(char **env); int do_pam_authenticate(int flags); int do_pam_account(char *username, char *remote_user); void do_pam_session(char *username, const char *ttyname); |