From 08e3d1e68642476ab1b9a5cf6f976bf9e69b3776 Mon Sep 17 00:00:00 2001 From: Darren Tucker Date: Thu, 4 Mar 2004 19:53:16 +1100 Subject: - (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 | 6 +++++- auth-pam.c | 4 +++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 88de411f..3fe192ae 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@ + 20040229 - (tim) [configure.ac] Put back bits mistakenly removed from Rev 1.188 @@ -1932,4 +1936,4 @@ - Fix sshd BindAddress and -b options for systems using fake-getaddrinfo. Report from murple@murple.net, diagnosis from dtucker@zip.com.au -$Id: ChangeLog,v 1.3257.2.1 2004/02/29 23:54:27 tim Exp $ +$Id: ChangeLog,v 1.3257.2.2 2004/03/04 08:53:16 dtucker Exp $ diff --git a/auth-pam.c b/auth-pam.c index 397f7d3a..4f5df742 100644 --- a/auth-pam.c +++ b/auth-pam.c @@ -31,7 +31,7 @@ /* Based on $FreeBSD: src/crypto/openssh/auth2-pam-freebsd.c,v 1.11 2003/03/31 13:48:18 des Exp $ */ #include "includes.h" -RCSID("$Id: auth-pam.c,v 1.95 2004/02/17 12:20:08 dtucker Exp $"); +RCSID("$Id: auth-pam.c,v 1.95.2.1 2004/03/04 08:53:17 dtucker Exp $"); #ifdef USE_PAM #if defined(HAVE_SECURITY_PAM_APPL_H) @@ -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 } /* -- cgit v1.2.3