aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2016-02-08 18:46:22 +0100
committerAndreas Schneider <asn@cryptomilk.org>2016-02-08 18:46:22 +0100
commit1bc4176d657e772e29c0f4f903b5447bafd24ef0 (patch)
tree837baec601d38ad27466a23c4897d964548b66cc /tests
parentde309c51a7e27f97fc2f8381fe9779795788e54f (diff)
downloadlibssh-1bc4176d657e772e29c0f4f903b5447bafd24ef0.tar.gz
libssh-1bc4176d657e772e29c0f4f903b5447bafd24ef0.tar.xz
libssh-1bc4176d657e772e29c0f4f903b5447bafd24ef0.zip
torture: Use ECDSA key for x11 test
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'tests')
-rw-r--r--tests/unittests/torture_server_x11.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unittests/torture_server_x11.c b/tests/unittests/torture_server_x11.c
index 486333a2..82380425 100644
--- a/tests/unittests/torture_server_x11.c
+++ b/tests/unittests/torture_server_x11.c
@@ -36,7 +36,7 @@ static int setup(void **state) {
assert_return_code(h->fd, errno);
close(h->fd);
- h->key_type = SSH_KEYTYPE_RSA;
+ h->key_type = SSH_KEYTYPE_ECDSA;
h->hostkey = torture_get_testkey(h->key_type, 0, 0);
torture_write_file(h->hostkey_path, h->hostkey);