summaryrefslogtreecommitdiff
path: root/auth-rh-rsa.c
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2001-06-25 04:40:49 +0000
committerBen Lindstrom <mouring@eviladmin.org>2001-06-25 04:40:49 +0000
commita4789ef8785c4ac37187cf3b9b937524d2823b4b (patch)
tree624c08d161ec0c0a06315a41dfe43823f25f766a /auth-rh-rsa.c
parent3c798d47438d421e64d742ec50d08cc4c841ee60 (diff)
- markus@cvs.openbsd.org 2001/06/23 03:04:42
[auth2.c auth-rh-rsa.c] restore correct ignore_user_known_hosts logic.
Diffstat (limited to 'auth-rh-rsa.c')
-rw-r--r--auth-rh-rsa.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/auth-rh-rsa.c b/auth-rh-rsa.c
index 870436b5..5bca5a97 100644
--- a/auth-rh-rsa.c
+++ b/auth-rh-rsa.c
@@ -13,7 +13,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: auth-rh-rsa.c,v 1.24 2001/06/23 00:20:57 markus Exp $");
+RCSID("$OpenBSD: auth-rh-rsa.c,v 1.25 2001/06/23 03:04:42 markus Exp $");
#include "packet.h"
#include "xmalloc.h"
@@ -61,7 +61,7 @@ auth_rhosts_rsa(struct passwd *pw, const char *client_user, RSA *client_host_key
host_status = check_key_in_hostfiles(pw, client_key, canonical_hostname,
_PATH_SSH_SYSTEM_HOSTFILE,
- options.ignore_user_known_hosts ? _PATH_SSH_USER_HOSTFILE : NULL);
+ options.ignore_user_known_hosts ? NULL : _PATH_SSH_USER_HOSTFILE);
key_free(client_key);