X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/23fc996adbb32bffe3e6f4fafff53cce8a4192eb..4801c01c8e197d334d6d8235d47ef2d7dd451579:/ssh.h diff --git a/ssh.h b/ssh.h index 0cbdd47b..76954a4c 100644 --- a/ssh.h +++ b/ssh.h @@ -311,6 +311,9 @@ int import_target_type(int type); int import_encrypted(char *filename, int type, char **comment); int import_ssh1(char *filename, int type, struct RSAKey *key,char *passphrase); struct ssh2_userkey *import_ssh2(char *filename, int type, char *passphrase); +int export_ssh1(char *filename, int type, struct RSAKey *key,char *passphrase); +int export_ssh2(char *filename, int type, + struct ssh2_userkey *key, char *passphrase); void des3_decrypt_pubkey(unsigned char *key, unsigned char *blk, int len); void des3_encrypt_pubkey(unsigned char *key, unsigned char *blk, int len);