diff options
author | Ben Toews <mastahyeti@gmail.com> | 2019-03-12 10:25:49 -0600 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2019-04-17 10:21:42 +0200 |
commit | b1f3cfec34c6a4acf779dac926535217d7312fba (patch) | |
tree | 30a095cf4be1dae2dc392599a2b6afaf9d0181e9 /tests/torture_key.h | |
parent | 78f764b7c983e030f07ad162fa18a3c69aa4a973 (diff) | |
download | libssh-b1f3cfec34c6a4acf779dac926535217d7312fba.tar.gz libssh-b1f3cfec34c6a4acf779dac926535217d7312fba.tar.xz libssh-b1f3cfec34c6a4acf779dac926535217d7312fba.zip |
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>
Diffstat (limited to 'tests/torture_key.h')
-rw-r--r-- | tests/torture_key.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/torture_key.h b/tests/torture_key.h index 1ae85099..961fdb96 100644 --- a/tests/torture_key.h +++ b/tests/torture_key.h @@ -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 */ |