diff options
author | Darren Tucker <dtucker@dtucker.net> | 2019-04-03 06:27:45 +1100 |
---|---|---|
committer | Darren Tucker <dtucker@dtucker.net> | 2019-04-03 06:27:45 +1100 |
commit | 79a87d32783d6c9db40af8f35e091d9d30365ae7 (patch) | |
tree | 84082e60474681dfd5a62e1579e01e64b592717e /openbsd-compat | |
parent | 138c0d52cdc90f9895333b82fc57d81cce7a3d90 (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')
-rw-r--r-- | openbsd-compat/port-aix.c | 4 | ||||
-rw-r--r-- | openbsd-compat/port-aix.h | 4 |
2 files changed, 4 insertions, 4 deletions
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 | ||
282 | int | 282 | int |
283 | sys_auth_record_login(struct ssh *ssh, const char *user, const char *host, | 283 | sys_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 |
91 | int sys_auth_allowed_user(struct passwd *, struct sshbuf *); | 91 | int sys_auth_allowed_user(struct passwd *, struct sshbuf *); |
92 | # define CUSTOM_SYS_AUTH_RECORD_LOGIN 1 | 92 | # define CUSTOM_SYS_AUTH_RECORD_LOGIN 1 |
93 | int sys_auth_record_login(struct ssh *, const char *, const char *, | 93 | int 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 |
96 | char *sys_auth_get_lastlogin_msg(const char *, uid_t); | 96 | char *sys_auth_get_lastlogin_msg(const char *, uid_t); |
97 | # define CUSTOM_FAILED_LOGIN 1 | 97 | # define CUSTOM_FAILED_LOGIN 1 |