diff options
Diffstat (limited to 'auth-rh-rsa.c')
-rw-r--r-- | auth-rh-rsa.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/auth-rh-rsa.c b/auth-rh-rsa.c index d7848d04c..2eb7e6e2d 100644 --- a/auth-rh-rsa.c +++ b/auth-rh-rsa.c | |||
@@ -13,7 +13,7 @@ | |||
13 | */ | 13 | */ |
14 | 14 | ||
15 | #include "includes.h" | 15 | #include "includes.h" |
16 | RCSID("$OpenBSD: auth-rh-rsa.c,v 1.34 2002/03/25 09:25:06 markus Exp $"); | 16 | RCSID("$OpenBSD: auth-rh-rsa.c,v 1.36 2003/06/02 09:17:34 markus Exp $"); |
17 | 17 | ||
18 | #include "packet.h" | 18 | #include "packet.h" |
19 | #include "uidswap.h" | 19 | #include "uidswap.h" |
@@ -63,7 +63,7 @@ auth_rhosts_rsa(struct passwd *pw, char *cuser, Key *client_host_key) | |||
63 | client_host_key->rsa == NULL) | 63 | client_host_key->rsa == NULL) |
64 | return 0; | 64 | return 0; |
65 | 65 | ||
66 | chost = (char *)get_canonical_hostname(options.verify_reverse_mapping); | 66 | chost = (char *)get_canonical_hostname(options.use_dns); |
67 | debug("Rhosts RSA authentication: canonical host %.900s", chost); | 67 | debug("Rhosts RSA authentication: canonical host %.900s", chost); |
68 | 68 | ||
69 | if (!PRIVSEP(auth_rhosts_rsa_key_allowed(pw, cuser, chost, client_host_key))) { | 69 | if (!PRIVSEP(auth_rhosts_rsa_key_allowed(pw, cuser, chost, client_host_key))) { |
@@ -75,7 +75,7 @@ auth_rhosts_rsa(struct passwd *pw, char *cuser, Key *client_host_key) | |||
75 | 75 | ||
76 | /* Perform the challenge-response dialog with the client for the host key. */ | 76 | /* Perform the challenge-response dialog with the client for the host key. */ |
77 | if (!auth_rsa_challenge_dialog(client_host_key)) { | 77 | if (!auth_rsa_challenge_dialog(client_host_key)) { |
78 | log("Client on %.800s failed to respond correctly to host authentication.", | 78 | logit("Client on %.800s failed to respond correctly to host authentication.", |
79 | chost); | 79 | chost); |
80 | return 0; | 80 | return 0; |
81 | } | 81 | } |