mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-04 12:20:42 +09:00
torture: Use ECDSA key for x11 test
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user