From a1e0095de7af8a273741e6e01160f5100278d9e7 Mon Sep 17 00:00:00 2001 From: dtucker Date: Thu, 4 Mar 2004 08:54:10 +0000 Subject: [PATCH] - (dtucker) [auth-pam.c] Don't try to export PAM when compiled with -DUSE_POSIX_THREADS. From antoine.verheijen at ualbert ca. ok djm@ --- ChangeLog | 4 ++++ auth-pam.c | 2 ++ 2 files changed, 6 insertions(+) diff --git a/ChangeLog b/ChangeLog index 0f47b0b9..9a4cab18 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +20040304 + - (dtucker) [auth-pam.c] Don't try to export PAM when compiled with + -DUSE_POSIX_THREADS. From antoine.verheijen at ualbert ca. ok djm@ + 20040303 - (djm) [configure.ac ssh-agent.c] Use prctl to prevent ptrace on ssh-agent ok dtucker diff --git a/auth-pam.c b/auth-pam.c index 7157e726..4487d067 100644 --- a/auth-pam.c +++ b/auth-pam.c @@ -201,6 +201,7 @@ import_environments(Buffer *b) debug3("PAM: %s entering", __func__); +#ifndef USE_POSIX_THREADS /* Import variables set by do_pam_account */ sshpam_account_status = buffer_get_int(b); pam_password_change_required(buffer_get_int(b)); @@ -228,6 +229,7 @@ import_environments(Buffer *b) } #endif } +#endif } /* -- 2.45.2