diff options
Diffstat (limited to 'openbsd-compat')
-rw-r--r-- | openbsd-compat/port-aix.c | 4 | ||||
-rw-r--r-- | openbsd-compat/port-aix.h | 3 |
2 files changed, 4 insertions, 3 deletions
diff --git a/openbsd-compat/port-aix.c b/openbsd-compat/port-aix.c index 943177c70..52698050c 100644 --- a/openbsd-compat/port-aix.c +++ b/openbsd-compat/port-aix.c | |||
@@ -280,8 +280,8 @@ sys_auth_allowed_user(struct passwd *pw, struct sshbuf *loginmsg) | |||
280 | } | 280 | } |
281 | 281 | ||
282 | int | 282 | int |
283 | sys_auth_record_login(const char *user, const char *host, const char *ttynm, | 283 | sys_auth_record_login(struct ssh *ssh, const char *user, const char *host, |
284 | struct sshbuf *loginmsg) | 284 | const char *ttynm, struct sshbuf *loginmsg) |
285 | { | 285 | { |
286 | char *msg = NULL; | 286 | char *msg = NULL; |
287 | int success = 0; | 287 | int success = 0; |
diff --git a/openbsd-compat/port-aix.h b/openbsd-compat/port-aix.h index 748c0e4e3..4702e3bf1 100644 --- a/openbsd-compat/port-aix.h +++ b/openbsd-compat/port-aix.h | |||
@@ -30,6 +30,7 @@ | |||
30 | # include <sys/socket.h> | 30 | # include <sys/socket.h> |
31 | #endif | 31 | #endif |
32 | 32 | ||
33 | struct ssh; | ||
33 | struct sshbuf; | 34 | struct sshbuf; |
34 | 35 | ||
35 | /* These should be in the system headers but are not. */ | 36 | /* These should be in the system headers but are not. */ |
@@ -89,7 +90,7 @@ void aix_usrinfo(struct passwd *); | |||
89 | # define CUSTOM_SYS_AUTH_ALLOWED_USER 1 | 90 | # define CUSTOM_SYS_AUTH_ALLOWED_USER 1 |
90 | int sys_auth_allowed_user(struct passwd *, struct sshbuf *); | 91 | int sys_auth_allowed_user(struct passwd *, struct sshbuf *); |
91 | # define CUSTOM_SYS_AUTH_RECORD_LOGIN 1 | 92 | # define CUSTOM_SYS_AUTH_RECORD_LOGIN 1 |
92 | int sys_auth_record_login(const char *, const char *, | 93 | int sys_auth_record_login(struct ssh *, const char *, const char *, |
93 | const char *, struct sshbuf *); | 94 | const char *, struct sshbuf *); |
94 | # define CUSTOM_SYS_AUTH_GET_LASTLOGIN_MSG | 95 | # define CUSTOM_SYS_AUTH_GET_LASTLOGIN_MSG |
95 | char *sys_auth_get_lastlogin_msg(const char *, uid_t); | 96 | char *sys_auth_get_lastlogin_msg(const char *, uid_t); |