diff options
author | dtucker <dtucker> | 2003-10-07 01:30:15 +0000 |
---|---|---|
committer | dtucker <dtucker> | 2003-10-07 01:30:15 +0000 |
commit | 2045b1c56ef4bc58a6ae5c80aee417c7bd209a4f (patch) | |
tree | 25ef6a372a0a3464a833391bb14baa9e3aa34949 /session.c | |
parent | 2cdaaef683dd01a3e9599288671d6175077df176 (diff) | |
download | openssh-2045b1c56ef4bc58a6ae5c80aee417c7bd209a4f.tar.gz |
- (dtucker) [auth-pam.c auth-pam.h session.c] Make PAM use the new static
cleanup functions. With & ok djm@
Diffstat (limited to 'session.c')
-rw-r--r-- | session.c | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -2165,6 +2165,13 @@ do_cleanup(Authctxt *authctxt) ssh_gssapi_cleanup_creds(); #endif +#ifdef USE_PAM + if (options.use_pam) { + sshpam_cleanup(); + sshpam_thread_cleanup(); + } +#endif + /* remove agent socket */ auth_sock_cleanup_proc(authctxt->pw); |