]> andersk Git - gssapi-openssh.git/blobdiff - openssh/auth-rh-rsa.c
Import of OpenSSH 3.7p1
[gssapi-openssh.git] / openssh / auth-rh-rsa.c
index d7848d04c4dd6ba0fdb56efcb91ac9823d8c9f6c..2eb7e6e2dbc3a24c78a80a77f471f80ef7e71f1e 100644 (file)
@@ -13,7 +13,7 @@
  */
 
 #include "includes.h"
-RCSID("$OpenBSD: auth-rh-rsa.c,v 1.34 2002/03/25 09:25:06 markus Exp $");
+RCSID("$OpenBSD: auth-rh-rsa.c,v 1.36 2003/06/02 09:17:34 markus Exp $");
 
 #include "packet.h"
 #include "uidswap.h"
@@ -63,7 +63,7 @@ auth_rhosts_rsa(struct passwd *pw, char *cuser, Key *client_host_key)
            client_host_key->rsa == NULL)
                return 0;
 
-       chost = (char *)get_canonical_hostname(options.verify_reverse_mapping);
+       chost = (char *)get_canonical_hostname(options.use_dns);
        debug("Rhosts RSA authentication: canonical host %.900s", chost);
 
        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)
 
        /* Perform the challenge-response dialog with the client for the host key. */
        if (!auth_rsa_challenge_dialog(client_host_key)) {
-               log("Client on %.800s failed to respond correctly to host authentication.",
+               logit("Client on %.800s failed to respond correctly to host authentication.",
                    chost);
                return 0;
        }
This page took 0.046905 seconds and 4 git commands to generate.