diff options
author | Darren Tucker <dtucker@cvs.openbsd.org> | 2003-11-18 00:40:06 +0000 |
---|---|---|
committer | Darren Tucker <dtucker@cvs.openbsd.org> | 2003-11-18 00:40:06 +0000 |
commit | 90df1b762a6a23cfc3d65cc2402fbd9c5f5cefe7 (patch) | |
tree | 3dd6a35d62570971f2257cca2d225d3f14ec3a56 | |
parent | c6890fd5d88351abcb546559e287ab47dacdc30e (diff) |
Correct check for authctxt->valid. ok djm@
-rw-r--r-- | usr.bin/ssh/serverloop.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/serverloop.c b/usr.bin/ssh/serverloop.c index faf57ce1f51..c73b4d7d981 100644 --- a/usr.bin/ssh/serverloop.c +++ b/usr.bin/ssh/serverloop.c @@ -35,7 +35,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: serverloop.c,v 1.112 2003/11/04 08:54:09 djm Exp $"); +RCSID("$OpenBSD: serverloop.c,v 1.113 2003/11/18 00:40:05 dtucker Exp $"); #include "xmalloc.h" #include "packet.h" @@ -971,7 +971,7 @@ server_input_global_request(int type, u_int32_t seq, void *ctxt) u_short listen_port; pw = the_authctxt->pw; - if (pw == NULL || !the_authctxt->pw) + if (pw == NULL || !the_authctxt->valid) fatal("server_input_global_request: no/invalid user"); listen_address = packet_get_string(NULL); listen_port = (u_short)packet_get_int(); |