mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-04 21:12:47 -05:00
Improvements to PuTTYgen error reporting:
- will now display a reason when it fails to load a key - uses existing error return from native keys - import.c had a lot of error descriptions which weren't going anywhere; since the strings are probably taking up space in the binary, we may as well use them [originally from svn r5408]
This commit is contained in:
4
ssh.h
4
ssh.h
@ -387,9 +387,9 @@ int import_possible(int type);
|
||||
int import_target_type(int type);
|
||||
int import_encrypted(const Filename *filename, int type, char **comment);
|
||||
int import_ssh1(const Filename *filename, int type,
|
||||
struct RSAKey *key, char *passphrase);
|
||||
struct RSAKey *key, char *passphrase, const char **errmsg_p);
|
||||
struct ssh2_userkey *import_ssh2(const Filename *filename, int type,
|
||||
char *passphrase);
|
||||
char *passphrase, const char **errmsg_p);
|
||||
int export_ssh1(const Filename *filename, int type,
|
||||
struct RSAKey *key, char *passphrase);
|
||||
int export_ssh2(const Filename *filename, int type,
|
||||
|
Reference in New Issue
Block a user