factor out common code in the agent client
authordjm <djm@openbsd.org>
Tue, 26 Jan 2021 00:46:17 +0000 (00:46 +0000)
committerdjm <djm@openbsd.org>
Tue, 26 Jan 2021 00:46:17 +0000 (00:46 +0000)
commitbe88d91fa83fe895c824f4a4d48a905cd7d30cf3
treea45ebed67347f69e95254071688f640eddd48629
parent044aaac6d42ec1f1777a52f2fa98b542d731d25c
factor out common code in the agent client

Add a ssh_request_reply_decode() function that sends a message to
the agent, reads and parses a success/failure reply.
Use it for all requests that only expect success/failure

ok markus@
usr.bin/ssh/authfd.c