mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-10 18:28:10 +09:00
tests/pkd: input test payload buffer
Move the pkd test payload buffer into the arguments struct, to make way for parameterizing the payload using command-line options. Signed-off-by: Jon Simons <jon@jonsimons.org> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
committed by
Andreas Schneider
parent
104c696bca
commit
410f100968
@@ -23,6 +23,11 @@ struct pkd_daemon_args {
|
||||
enum pkd_hostkey_type_e type;
|
||||
const char *hostkeypath;
|
||||
|
||||
struct {
|
||||
const uint8_t *buf;
|
||||
size_t len;
|
||||
} payload;
|
||||
|
||||
struct {
|
||||
int list;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user