aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2018-05-08 12:42:05 +0200
committerAndreas Schneider <asn@cryptomilk.org>2018-06-04 11:12:36 +0200
commitbcaeaf17afce8303768a5f0c643688ea77415f41 (patch)
treeb4b17ba39277ba4362d7b3171af3273acf3fccb7
parentf4e57a6e22b3dc23ad34fe53d62df073fce2cfa8 (diff)
downloadlibssh-bcaeaf17afce8303768a5f0c643688ea77415f41.tar.gz
libssh-bcaeaf17afce8303768a5f0c643688ea77415f41.tar.xz
libssh-bcaeaf17afce8303768a5f0c643688ea77415f41.zip
tests: Fix size for bob_ssh_cert
Fixes a gcc8 warning. Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
-rw-r--r--tests/client/torture_auth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/client/torture_auth.c b/tests/client/torture_auth.c
index 8f317fc4..7c436711 100644
--- a/tests/client/torture_auth.c
+++ b/tests/client/torture_auth.c
@@ -496,7 +496,7 @@ static void torture_auth_cert(void **state) {
ssh_key privkey = NULL;
ssh_key cert = NULL;
char bob_ssh_key[1024];
- char bob_ssh_cert[1024];
+ char bob_ssh_cert[2048];
struct passwd *pwd;
int rc;