diff options
author | Kevin Adler <kadler@us.ibm.com> | 2018-12-12 22:12:45 -0600 |
---|---|---|
committer | Darren Tucker <dtucker@dtucker.net> | 2018-12-13 16:31:36 +1100 |
commit | a784fa8c7a7b084d63bae82ccfea902131bb45c5 (patch) | |
tree | 613b135a32bf1aae5bca8efca9e3aac9920917fc /loginrec.c | |
parent | 285310b897969a63ef224d39e7cc2b7316d86940 (diff) |
Don't pass loginmsg by address now that it's an sshbuf*
In 120a1ec74, loginmsg was changed from the legacy Buffer type
to struct sshbuf*, but it missed changing calls to
sys_auth_allowed_user and sys_auth_record_login which passed
loginmsg by address. Now that it's a pointer, just pass it directly.
This only affects AIX, unless there are out of tree users.
Diffstat (limited to 'loginrec.c')
-rw-r--r-- | loginrec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/loginrec.c b/loginrec.c index 9a427dec4..08fc73758 100644 --- a/loginrec.c +++ b/loginrec.c | |||
@@ -467,7 +467,7 @@ login_write(struct logininfo *li) | |||
467 | #ifdef CUSTOM_SYS_AUTH_RECORD_LOGIN | 467 | #ifdef CUSTOM_SYS_AUTH_RECORD_LOGIN |
468 | if (li->type == LTYPE_LOGIN && | 468 | if (li->type == LTYPE_LOGIN && |
469 | !sys_auth_record_login(li->username,li->hostname,li->line, | 469 | !sys_auth_record_login(li->username,li->hostname,li->line, |
470 | &loginmsg)) | 470 | loginmsg)) |
471 | logit("Writing login record failed for %s", li->username); | 471 | logit("Writing login record failed for %s", li->username); |
472 | #endif | 472 | #endif |
473 | #ifdef SSH_AUDIT_EVENTS | 473 | #ifdef SSH_AUDIT_EVENTS |