summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordjm <djm@openbsd.org>2003-11-18 10:53:07 +0000
committerdjm <djm@openbsd.org>2003-11-18 10:53:07 +0000
commit163c06efeec5a8f3250c87b97efef7bd9ada8cb6 (patch)
tree5e8be08554b7a51e22d2e3e22734d38cfa6ab8da
parentIn ssh_checkintr(), better check pointers for NULL before they (diff)
downloadwireguard-openbsd-163c06efeec5a8f3250c87b97efef7bd9ada8cb6.tar.xz
wireguard-openbsd-163c06efeec5a8f3250c87b97efef7bd9ada8cb6.zip
unbreak fake authloop for non-existent users (my screwup). Spotted and
tested by dtucker@; ok markus@
-rw-r--r--usr.bin/ssh/monitor.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/ssh/monitor.c b/usr.bin/ssh/monitor.c
index 27f8dc237f9..dd45aefc7e8 100644
--- a/usr.bin/ssh/monitor.c
+++ b/usr.bin/ssh/monitor.c
@@ -25,7 +25,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: monitor.c,v 1.52 2003/11/17 11:06:07 markus Exp $");
+RCSID("$OpenBSD: monitor.c,v 1.53 2003/11/18 10:53:07 djm Exp $");
#include <openssl/dh.h>
@@ -530,6 +530,7 @@ mm_answer_pwnamallow(int socket, Buffer *m)
if (pwent == NULL) {
buffer_put_char(m, 0);
+ authctxt->pw = fakepw();
goto out;
}