torture: Use ECDSA key for x11 test

Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
Andreas Schneider
2016-02-08 18:46:22 +01:00
parent de309c51a7
commit 1bc4176d65

View File

@@ -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);