diff options
author | Damien Miller <djm@mindrot.org> | 2003-04-09 20:59:48 +1000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2003-04-09 20:59:48 +1000 |
commit | 996acd2476d9d34b18bb4f99012ea0927458f418 (patch) | |
tree | 1420f273ae5395fc0adc9aa25dcd44fe821884a6 /auth2-hostbased.c | |
parent | 5f16a5ee4e35d36e72f8f72fb2334087cb2ea680 (diff) |
*** empty log message ***
Diffstat (limited to 'auth2-hostbased.c')
-rw-r--r-- | auth2-hostbased.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/auth2-hostbased.c b/auth2-hostbased.c index 2bde7bb79..72df83bd4 100644 --- a/auth2-hostbased.c +++ b/auth2-hostbased.c | |||
@@ -77,7 +77,7 @@ userauth_hostbased(Authctxt *authctxt) | |||
77 | pktype = key_type_from_name(pkalg); | 77 | pktype = key_type_from_name(pkalg); |
78 | if (pktype == KEY_UNSPEC) { | 78 | if (pktype == KEY_UNSPEC) { |
79 | /* this is perfectly legal */ | 79 | /* this is perfectly legal */ |
80 | log("userauth_hostbased: unsupported " | 80 | logit("userauth_hostbased: unsupported " |
81 | "public key algorithm: %s", pkalg); | 81 | "public key algorithm: %s", pkalg); |
82 | goto done; | 82 | goto done; |
83 | } | 83 | } |
@@ -152,7 +152,7 @@ hostbased_key_allowed(struct passwd *pw, const char *cuser, char *chost, | |||
152 | chost[len - 1] = '\0'; | 152 | chost[len - 1] = '\0'; |
153 | } | 153 | } |
154 | if (strcasecmp(resolvedname, chost) != 0) | 154 | if (strcasecmp(resolvedname, chost) != 0) |
155 | log("userauth_hostbased mismatch: " | 155 | logit("userauth_hostbased mismatch: " |
156 | "client sends %s, but we resolve %s to %s", | 156 | "client sends %s, but we resolve %s to %s", |
157 | chost, ipaddr, resolvedname); | 157 | chost, ipaddr, resolvedname); |
158 | if (auth_rhosts2(pw, cuser, resolvedname, ipaddr) == 0) | 158 | if (auth_rhosts2(pw, cuser, resolvedname, ipaddr) == 0) |