diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2001-03-29 00:45:12 +0000 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2001-03-29 00:45:12 +0000 |
commit | 7de696e798c96240f9ae5c345084a008e9bed096 (patch) | |
tree | 3248aafe7ec4fdbfb6d986ebf37a810d73be0c79 | |
parent | ff2618c80fdabba2a667c261426b05ce750ee6f1 (diff) |
- markus@cvs.openbsd.org 2001/03/28 20:50:45
[sshd.c]
call refuse() before close(); from olemx@ans.pl
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | sshd.c | 4 |
2 files changed, 6 insertions, 3 deletions
@@ -26,6 +26,9 @@ - stevesk@cvs.openbsd.org 2001/03/28 20:04:38 [scp.c] usage more like rcp and add missing -B to usage; ok markus@ + - markus@cvs.openbsd.org 2001/03/28 20:50:45 + [sshd.c] + call refuse() before close(); from olemx@ans.pl 20010328 - (djm) Reorder tests and library inclusion for Krb4/AFS to try to @@ -4764,4 +4767,4 @@ - Wrote replacements for strlcpy and mkdtemp - Released 1.0pre1 -$Id: ChangeLog,v 1.1033 2001/03/29 00:43:54 mouring Exp $ +$Id: ChangeLog,v 1.1034 2001/03/29 00:45:12 mouring Exp $ @@ -40,7 +40,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: sshd.c,v 1.181 2001/03/27 17:46:49 provos Exp $"); +RCSID("$OpenBSD: sshd.c,v 1.182 2001/03/28 20:50:45 markus Exp $"); #include <openssl/dh.h> #include <openssl/bn.h> @@ -1099,9 +1099,9 @@ main(int ac, char **av) fromhost(&req); if (!hosts_access(&req)) { + refuse(&req); close(sock_in); close(sock_out); - refuse(&req); } /*XXX IPv6 verbose("Connection from %.500s port %d", eval_client(&req), remote_port); */ } |