aboutsummaryrefslogtreecommitdiff
path: root/tests/torture.c
diff options
context:
space:
mode:
authorJon Simons <jon@jonsimons.org>2014-12-07 16:33:23 -0800
committerAndreas Schneider <asn@cryptomilk.org>2014-12-09 19:21:18 +0100
commit014fde0542c828fdd4542c93b92378a6bd5a180c (patch)
treeb58f48ce7330d3c206c658d715a2c39e8244c136 /tests/torture.c
parentca2acec34af975945e4f77f17c60c8537facf76e (diff)
downloadlibssh-014fde0542c828fdd4542c93b92378a6bd5a180c.tar.gz
libssh-014fde0542c828fdd4542c93b92378a6bd5a180c.tar.xz
libssh-014fde0542c828fdd4542c93b92378a6bd5a180c.zip
torture: fix warning for SSH_KEYTYPE_ED25519
Signed-off-by: Jon Simons <jon@jonsimons.org> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'tests/torture.c')
-rw-r--r--tests/torture.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/torture.c b/tests/torture.c
index 0b8eb3da..2ba5556c 100644
--- a/tests/torture.c
+++ b/tests/torture.c
@@ -514,6 +514,7 @@ static const char *torture_get_testkey_internal(enum ssh_keytypes_e type,
return torture_ecdsa256_testkey_pub;
}
return torture_ecdsa256_testkey;
+ case SSH_KEYTYPE_ED25519:
case SSH_KEYTYPE_RSA1:
case SSH_KEYTYPE_UNKNOWN:
return NULL;