[sshd.c]
call refuse() before close(); from olemx@ans.pl
- 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
*/
#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>
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); */
}