diff options
author | Markus Friedl <markus@cvs.openbsd.org> | 1999-11-11 23:36:54 +0000 |
---|---|---|
committer | Markus Friedl <markus@cvs.openbsd.org> | 1999-11-11 23:36:54 +0000 |
commit | 952bc7afffd6f431ea78889c487c7c60de5b094b (patch) | |
tree | 813963710c4dc0dd96f2c4aa8214b3b1e6ca9da4 /usr.bin/ssh/sshd.c | |
parent | 7eeb2cbc8ec1be7ada2e8f1c8373e1b6e46bb468 (diff) |
make all access to options via 'extern Options options'
and 'extern ServerOptions options' respectively;
options are no longer passed as arguments:
* make options handling more consistent
* remove #include "readconf.h" from ssh.h
* readconf.h is only included if necessary
Diffstat (limited to 'usr.bin/ssh/sshd.c')
-rw-r--r-- | usr.bin/ssh/sshd.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/usr.bin/ssh/sshd.c b/usr.bin/ssh/sshd.c index d5e00c328c3..399eb6982b7 100644 --- a/usr.bin/ssh/sshd.c +++ b/usr.bin/ssh/sshd.c @@ -18,7 +18,7 @@ agent connections. */ #include "includes.h" -RCSID("$Id: sshd.c,v 1.50 1999/11/11 22:58:39 markus Exp $"); +RCSID("$Id: sshd.c,v 1.51 1999/11/11 23:36:53 markus Exp $"); #include "xmalloc.h" #include "rsa.h" @@ -1207,8 +1207,7 @@ do_authentication(char *user, int privileged_port) } /* Try to authenticate using /etc/hosts.equiv and .rhosts. */ - if (auth_rhosts(pw, client_user, options.ignore_rhosts, - options.strict_modes)) + if (auth_rhosts(pw, client_user)) { /* Authentication accepted. */ log("Rhosts authentication accepted for %.100s, remote %.100s on %.700s.", @@ -1287,7 +1286,7 @@ do_authentication(char *user, int privileged_port) packet_integrity_check(plen, nlen, type); - if (auth_rsa(pw, n, options.strict_modes)) + if (auth_rsa(pw, n)) { /* Successful authentication. */ BN_clear_free(n); |