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 /auth.c | |
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 'auth.c')
-rw-r--r-- | auth.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |