torture: Add public testkey functions.

Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Reviewed-by: Aris Adamantiadis <aris@0xbadc0de.be>
This commit is contained in:
Andreas Schneider
2014-08-15 12:23:53 +02:00
parent 83aed7610c
commit edca9d6e96
2 changed files with 218 additions and 0 deletions

View File

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