diff options
author | Andreas Schneider <asn@cryptomilk.org> | 2014-08-15 12:23:53 +0200 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2014-08-15 12:32:47 +0200 |
commit | edca9d6e9684552e3f65d42ddaabb2bf72d5e140 (patch) | |
tree | f189804874f7dab9be892ece020ec9dedc179834 /tests/torture.h | |
parent | 83aed7610ca37c8354bfb27eeb3fdfe3900e2766 (diff) | |
download | libssh-edca9d6e9684552e3f65d42ddaabb2bf72d5e140.tar.gz libssh-edca9d6e9684552e3f65d42ddaabb2bf72d5e140.tar.xz libssh-edca9d6e9684552e3f65d42ddaabb2bf72d5e140.zip |
torture: Add public testkey functions.
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Reviewed-by: Aris Adamantiadis <aris@0xbadc0de.be>
Diffstat (limited to 'tests/torture.h')
-rw-r--r-- | tests/torture.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/torture.h b/tests/torture.h index 61521f31..af6f72a7 100644 --- a/tests/torture.h +++ b/tests/torture.h @@ -68,6 +68,11 @@ ssh_session torture_ssh_session(const char *host, struct torture_sftp *torture_sftp_session(ssh_session session); void torture_sftp_close(struct torture_sftp *t); +const char *torture_get_testkey(enum ssh_keytypes_e type, + int ecdsa_bits, + int with_passphrase); +const char *torture_get_testkey_pub(enum ssh_keytypes_e type, int ecdsa_bits); + void torture_write_file(const char *filename, const char *data); /* |