refactor authorized_keys/principals handling
authordjm <djm@openbsd.org>
Fri, 27 May 2022 05:01:25 +0000 (05:01 +0000)
committerdjm <djm@openbsd.org>
Fri, 27 May 2022 05:01:25 +0000 (05:01 +0000)
commitb8669307550173b232fdd7c9239488de7ae64868
tree558d7d984b26b112313210985ee96c0807622fea
parent19b6d7c65f2ce5bf7709f16c9eea79f2fee920e1
refactor authorized_keys/principals handling

remove "struct ssh *" from arguments - this was only used to pass the
remote host/address. These can be passed in instead and the resulting
code is less tightly coupled to ssh_api.[ch]

ok dtucker@
usr.bin/ssh/auth.c
usr.bin/ssh/auth.h
usr.bin/ssh/auth2-pubkey.c
usr.bin/ssh/monitor.c
usr.bin/ssh/monitor_wrap.c
usr.bin/ssh/monitor_wrap.h