summaryrefslogtreecommitdiff
path: root/openbsd-compat/port-aix.h
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@dtucker.net>2019-04-03 06:27:45 +1100
committerDarren Tucker <dtucker@dtucker.net>2019-04-03 06:27:45 +1100
commit79a87d32783d6c9db40af8f35e091d9d30365ae7 (patch)
tree84082e60474681dfd5a62e1579e01e64b592717e /openbsd-compat/port-aix.h
parent138c0d52cdc90f9895333b82fc57d81cce7a3d90 (diff)
Remove "struct ssh" from sys_auth_record_login.
It's not needed, and is not available from the call site in loginrec.c Should only affect AIX, spotted by Kevin Brott.
Diffstat (limited to 'openbsd-compat/port-aix.h')
-rw-r--r--openbsd-compat/port-aix.h4
1 files changed, 2 insertions, 2 deletions
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