summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--auth.c2
-rw-r--r--openbsd-compat/port-aix.c4
-rw-r--r--openbsd-compat/port-aix.h4
3 files changed, 5 insertions, 5 deletions
diff --git a/auth.c b/auth.c
index 332b6220c..8696f258e 100644
--- a/auth.c
+++ b/auth.c
@@ -360,7 +360,7 @@ auth_log(struct ssh *ssh, int authenticated, int partial,
360 auth_get_canonical_hostname(ssh, options.use_dns), "ssh"); 360 auth_get_canonical_hostname(ssh, options.use_dns), "ssh");
361# ifdef WITH_AIXAUTHENTICATE 361# ifdef WITH_AIXAUTHENTICATE
362 if (authenticated) 362 if (authenticated)
363 sys_auth_record_login(ssh, authctxt->user, 363 sys_auth_record_login(authctxt->user,
364 auth_get_canonical_hostname(ssh, options.use_dns), "ssh", 364 auth_get_canonical_hostname(ssh, options.use_dns), "ssh",
365 loginmsg); 365 loginmsg);
366# endif 366# endif
diff --git a/openbsd-compat/port-aix.c b/openbsd-compat/port-aix.c
index b61018b56..fc80dc39f 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
282int 282int
283sys_auth_record_login(struct ssh *ssh, const char *user, const char *host, 283sys_auth_record_login(const char *user, const char *host, const char *ttynm,
284 const char *ttynm, struct sshbuf *loginmsg) 284 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 4702e3bf1..904de3096 100644
--- a/openbsd-compat/port-aix.h
+++ b/openbsd-compat/port-aix.h
@@ -90,8 +90,8 @@ void aix_usrinfo(struct passwd *);
90# define CUSTOM_SYS_AUTH_ALLOWED_USER 1 90# define CUSTOM_SYS_AUTH_ALLOWED_USER 1
91int sys_auth_allowed_user(struct passwd *, struct sshbuf *); 91int sys_auth_allowed_user(struct passwd *, struct sshbuf *);
92# define CUSTOM_SYS_AUTH_RECORD_LOGIN 1 92# define CUSTOM_SYS_AUTH_RECORD_LOGIN 1
93int sys_auth_record_login(struct ssh *, const char *, const char *, 93int sys_auth_record_login(const char *, const char *, const char *,
94 const char *, struct sshbuf *); 94 struct sshbuf *);
95# define CUSTOM_SYS_AUTH_GET_LASTLOGIN_MSG 95# define CUSTOM_SYS_AUTH_GET_LASTLOGIN_MSG
96char *sys_auth_get_lastlogin_msg(const char *, uid_t); 96char *sys_auth_get_lastlogin_msg(const char *, uid_t);
97# define CUSTOM_FAILED_LOGIN 1 97# define CUSTOM_FAILED_LOGIN 1