2011-01-31 13:24:57 +01:00
|
|
|
Index: auth-pam.c
|
|
|
|
===================================================================
|
|
|
|
--- auth-pam.c.orig
|
2007-01-07 17:26:05 +01:00
|
|
|
+++ auth-pam.c
|
2011-01-31 13:24:57 +01:00
|
|
|
@@ -786,7 +786,9 @@ sshpam_query(void *ctx, char **name, cha
|
2007-01-07 17:26:05 +01:00
|
|
|
fatal("Internal error: PAM auth "
|
|
|
|
"succeeded when it should have "
|
|
|
|
"failed");
|
|
|
|
- import_environments(&buffer);
|
|
|
|
+#ifndef USE_POSIX_THREADS
|
|
|
|
+ import_environments(&buffer);
|
|
|
|
+#endif
|
|
|
|
*num = 0;
|
|
|
|
**echo_on = 0;
|
|
|
|
ctxt->pam_done = 1;
|