summaryrefslogtreecommitdiff
path: root/auth.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 /auth.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 'auth.c')
-rw-r--r--auth.c2
1 files changed, 1 insertions, 1 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