more ssh-agent refactoring
authordjm <djm@openbsd.org>
Tue, 26 Jan 2021 00:53:31 +0000 (00:53 +0000)
committerdjm <djm@openbsd.org>
Tue, 26 Jan 2021 00:53:31 +0000 (00:53 +0000)
commitd83c402e84173d3b6e258be3a729b25b83dfedd4
tree19d2b0cff029e930f71dfe21e811a252503bbd29
parentaeb55fdd8a82f5a5e58655423f23667b3bafd475
more ssh-agent refactoring

Allow confirm_key() to accept an additional reason suffix

Factor publickey userauth parsing out into its own function and allow
it to optionally return things it parsed out of the message to its
caller.

feedback/ok markus@
usr.bin/ssh/ssh-agent.c