mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-09 09:54:25 +09:00
libssh: deprecate SSH_KEYTYPE_ECDSA
This type is imprecise. We often need the ecdsa_nid in addition to the key type in order to do anything. We replace this singluar ECDSA type with one type per curve. Signed-off-by: Ben Toews <mastahyeti@gmail.com> Reviewed-by: Jakub Jelen <jjelen@redhat.com>
This commit is contained in:
committed by
Andreas Schneider
parent
78f764b7c9
commit
b1f3cfec34
@@ -30,15 +30,13 @@
|
||||
|
||||
/* Return the encrypted private key in a new OpenSSH format */
|
||||
const char *torture_get_openssh_testkey(enum ssh_keytypes_e type,
|
||||
int ecdsa_bits,
|
||||
bool with_passphrase);
|
||||
|
||||
/* Return the private key in the legacy PEM format */
|
||||
const char *torture_get_testkey(enum ssh_keytypes_e type,
|
||||
int ecdsa_bits,
|
||||
bool with_passphrase);
|
||||
const char *torture_get_testkey_passphrase(void);
|
||||
|
||||
const char *torture_get_testkey_pub(enum ssh_keytypes_e type, int ecdsa_bits);
|
||||
const char *torture_get_testkey_pub(enum ssh_keytypes_e type);
|
||||
|
||||
#endif /* _TORTURE_KEY_H */
|
||||
|
||||
Reference in New Issue
Block a user