mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-13 00:57:33 -05:00
Separate key-type enum values for old and new OpenSSH keys.
It's all very well for these two different formats to share a type code as long as we're only loading them and not saving, but as soon as we need to save one or the other, we'll need different type codes after all. This commit introduces the openssh_new_write() function, but for the moment, it always returns failure.
This commit is contained in:
4
ssh.h
4
ssh.h
@ -630,7 +630,9 @@ enum {
|
||||
SSH_KEYTYPE_UNOPENABLE,
|
||||
SSH_KEYTYPE_UNKNOWN,
|
||||
SSH_KEYTYPE_SSH1, SSH_KEYTYPE_SSH2,
|
||||
SSH_KEYTYPE_OPENSSH, SSH_KEYTYPE_SSHCOM
|
||||
SSH_KEYTYPE_OPENSSH_PEM,
|
||||
SSH_KEYTYPE_OPENSSH_NEW,
|
||||
SSH_KEYTYPE_SSHCOM
|
||||
};
|
||||
int key_type(const Filename *filename);
|
||||
char *key_type_to_str(int type);
|
||||
|
Reference in New Issue
Block a user