forked from pool/openssh
Marcus Meissner
2e210d7ee3
ok OBS-URL: https://build.opensuse.org/request/show/59094 OBS-URL: https://build.opensuse.org/package/show/network/openssh?expand=0&rev=4
16 lines
463 B
Diff
16 lines
463 B
Diff
Index: auth-pam.c
|
|
===================================================================
|
|
--- auth-pam.c.orig
|
|
+++ auth-pam.c
|
|
@@ -786,7 +786,9 @@ sshpam_query(void *ctx, char **name, cha
|
|
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;
|