diff options
author | Aris Adamantiadis <aris@0xbadc0de.be> | 2019-10-20 01:20:00 +0200 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2019-12-23 14:31:32 +0100 |
commit | bba5fa18ed81fdac8f69e1d2389f8084d56b076b (patch) | |
tree | 13d7f5a417e6d1332940633e500b6958ecce572b /tests/pkd | |
parent | 1089948346640061e3a723737cfdd8515d4986d5 (diff) | |
download | libssh-bba5fa18ed81fdac8f69e1d2389f8084d56b076b.tar.gz libssh-bba5fa18ed81fdac8f69e1d2389f8084d56b076b.tar.xz libssh-bba5fa18ed81fdac8f69e1d2389f8084d56b076b.zip |
pkd: fix snprintf compiler warning
Signed-off-by: Aris Adamantiadis <aris@0xbadc0de.be>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'tests/pkd')
-rw-r--r-- | tests/pkd/pkd_hello.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/pkd/pkd_hello.c b/tests/pkd/pkd_hello.c index 4233fe77..dd321850 100644 --- a/tests/pkd/pkd_hello.c +++ b/tests/pkd/pkd_hello.c @@ -602,7 +602,7 @@ static void torture_pkd_runtest(const char *testname, #define emit_keytest(client, testname, sshcmd, setup, teardown) \ static void torture_pkd_## client ## _ ## testname(void **state) { \ const char *tname = "torture_pkd_" #client "_" #testname; \ - char testcmd[1024] = { 0 }; \ + char testcmd[2048] = { 0 }; \ (void) state; \ snprintf(&testcmd[0], sizeof(testcmd), sshcmd, tname, tname); \ torture_pkd_runtest(tname, testcmd); \ |