X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=ssh.h;h=76954a4c64709ffe2ca54707ff0fa8138259f6e8;hb=afbd7779e49eaf5f36a8cc94a6ccde1db6d0ba16;hp=0cbdd47b7d3f8971f63945e6e08357058687636f;hpb=9a8c58a64bd9effebee2199d3757a0bcedac83e1;p=PuTTY.git 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);