forked from pool/openssh
14 lines
331 B
Diff
14 lines
331 B
Diff
--- auth-pam.c
|
|
+++ auth-pam.c
|
|
@@ -786,7 +786,9 @@
|
|
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;
|