summaryrefslogtreecommitdiff
path: root/openbsd-compat/port-aix.c
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.c
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.c')
-rw-r--r--openbsd-compat/port-aix.c4
1 files changed, 2 insertions, 2 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
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;