openssh/openssh-5.6p1-pam-fix3.diff
OBS User autobuild 90410f9370 Accepting request 46105 from Base:System
Copy from Base:System/openssh based on submit request 46105 from user anicka

OBS-URL: https://build.opensuse.org/request/show/46105
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/openssh?expand=0&rev=48
2010-08-24 15:31:11 +00:00

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;