summaryrefslogtreecommitdiff
path: root/sshd.c
diff options
context:
space:
mode:
Diffstat (limited to 'sshd.c')
-rw-r--r--sshd.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/sshd.c b/sshd.c
index 59526007e..7cc24cd1a 100644
--- a/sshd.c
+++ b/sshd.c
@@ -18,7 +18,7 @@ agent connections.
18*/ 18*/
19 19
20#include "includes.h" 20#include "includes.h"
21RCSID("$Id: sshd.c,v 1.15 1999/11/11 21:49:09 damien Exp $"); 21RCSID("$Id: sshd.c,v 1.16 1999/11/12 00:33:04 damien Exp $");
22 22
23#include "xmalloc.h" 23#include "xmalloc.h"
24#include "rsa.h" 24#include "rsa.h"
@@ -1394,11 +1394,8 @@ do_authentication(char *user, int privileged_port)
1394 packet_integrity_check(plen, (4 + ulen) + 4 + elen + nlen, type); 1394 packet_integrity_check(plen, (4 + ulen) + 4 + elen + nlen, type);
1395 } 1395 }
1396 1396
1397 /* Try to authenticate using /etc/hosts.equiv and .rhosts. */
1398 if (auth_rhosts_rsa(pw, client_user, 1397 if (auth_rhosts_rsa(pw, client_user,
1399 client_host_key_bits, client_host_key_e, 1398 client_host_key_bits, client_host_key_e, client_host_key_n))
1400 client_host_key_n, options.ignore_rhosts,
1401 options.strict_modes))
1402 { 1399 {
1403 /* Authentication accepted. */ 1400 /* Authentication accepted. */
1404 authenticated = 1; 1401 authenticated = 1;