summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2014-04-23 11:15:05 +0200
committerAndreas Schneider <asn@cryptomilk.org>2014-05-07 09:35:49 +0200
commit71241ca68c1501489956404c995abc9505d631d7 (patch)
tree889187b111bf6a93a172257b9530b7b35633f6cd /src
parentbfbf9283d0a8b8320d1ec9574ae3138e0237847a (diff)
pki: Move ssh_pki_key_ecdsa_name() to the correct file.
Diffstat (limited to 'src')
-rw-r--r--src/pki_crypto.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/pki_crypto.c b/src/pki_crypto.c
index a81055e6..5e2585da 100644
--- a/src/pki_crypto.c
+++ b/src/pki_crypto.c
@@ -105,20 +105,6 @@ const char *pki_key_ecdsa_nid_to_name(int nid)
return "unknown";
}
-/**
- * @brief returns the ECDSA key name ("ecdsa-sha2-nistp256" for example)
- *
- * @param[in] key the ssh_key whose ECDSA name to get
- *
- * @returns the ECDSA key name ("ecdsa-sha2-nistp256" for example)
- *
- * @returns "unknown" if the ECDSA key name is not known
- */
-const char *ssh_pki_key_ecdsa_name(const ssh_key key)
-{
- return pki_key_ecdsa_nid_to_name(key->ecdsa_nid);
-}
-
static const char *pki_key_ecdsa_nid_to_char(int nid)
{
switch (nid) {