]> andersk Git - openssh.git/blobdiff - sshd.c
- (djm) Add new UsePAM configuration directive to allow runtime control
[openssh.git] / sshd.c
diff --git a/sshd.c b/sshd.c
index 9e2e218c6c1958e825ead764601e4d53e1c821c3..cb70fa0c64517d7d1adf07c0cc93eefd36affef0 100644 (file)
--- a/sshd.c
+++ b/sshd.c
@@ -1544,7 +1544,8 @@ main(int ac, char **av)
        verbose("Closing connection to %.100s", remote_ip);
 
 #ifdef USE_PAM
-       finish_pam();
+       if (options.use_pam)
+               finish_pam();
 #endif /* USE_PAM */
 
        packet_close();
This page took 0.047561 seconds and 4 git commands to generate.