diff options
Diffstat (limited to 'openbsd-compat/port-aix.c')
-rw-r--r-- | openbsd-compat/port-aix.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/openbsd-compat/port-aix.c b/openbsd-compat/port-aix.c index e7eb179ec..79d180211 100644 --- a/openbsd-compat/port-aix.c +++ b/openbsd-compat/port-aix.c | |||
@@ -28,8 +28,6 @@ | |||
28 | #include "auth.h" | 28 | #include "auth.h" |
29 | #include "ssh.h" | 29 | #include "ssh.h" |
30 | #include "log.h" | 30 | #include "log.h" |
31 | #include "servconf.h" | ||
32 | #include "canohost.h" | ||
33 | #include "xmalloc.h" | 31 | #include "xmalloc.h" |
34 | #include "buffer.h" | 32 | #include "buffer.h" |
35 | 33 | ||
@@ -38,7 +36,6 @@ | |||
38 | #include <uinfo.h> | 36 | #include <uinfo.h> |
39 | #include "port-aix.h" | 37 | #include "port-aix.h" |
40 | 38 | ||
41 | extern ServerOptions options; | ||
42 | extern Buffer loginmsg; | 39 | extern Buffer loginmsg; |
43 | 40 | ||
44 | # ifdef HAVE_SETAUTHDB | 41 | # ifdef HAVE_SETAUTHDB |
@@ -280,10 +277,8 @@ sys_auth_record_login(const char *user, const char *host, const char *ttynm) | |||
280 | * record_failed_login: generic "login failed" interface function | 277 | * record_failed_login: generic "login failed" interface function |
281 | */ | 278 | */ |
282 | void | 279 | void |
283 | record_failed_login(const char *user, const char *ttyname) | 280 | record_failed_login(const char *user, const char *hostname, const char *ttyname) |
284 | { | 281 | { |
285 | char *hostname = (char *)get_canonical_hostname(options.use_dns); | ||
286 | |||
287 | if (geteuid() != 0) | 282 | if (geteuid() != 0) |
288 | return; | 283 | return; |
289 | 284 | ||