aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2014-04-23 11:12:08 +0200
committerAndreas Schneider <asn@cryptomilk.org>2014-04-23 11:12:08 +0200
commit11cfb2903eb319d32a2432a015c61506f50dc78b (patch)
treeeace77c19a6acca2e03c164ce63cf2f88b0ed44c /include
parentc520d97dd9d58a11284cbd28c9d1fef026d94f45 (diff)
downloadlibssh-11cfb2903eb319d32a2432a015c61506f50dc78b.tar.gz
libssh-11cfb2903eb319d32a2432a015c61506f50dc78b.tar.xz
libssh-11cfb2903eb319d32a2432a015c61506f50dc78b.zip
pki: Make pki_key_ecdsa_nid_to_name() a shared function.
Diffstat (limited to 'include')
-rw-r--r--include/libssh/pki_priv.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/libssh/pki_priv.h b/include/libssh/pki_priv.h
index 54a59a03..350b2243 100644
--- a/include/libssh/pki_priv.h
+++ b/include/libssh/pki_priv.h
@@ -34,6 +34,7 @@ void _ssh_pki_log(const char *function,
const char *format, ...) PRINTF_ATTRIBUTE(2, 3);
int pki_key_ecdsa_nid_from_name(const char *name);
+const char *pki_key_ecdsa_nid_to_name(int nid)
/* SSH Key Functions */
ssh_key pki_key_dup(const ssh_key key, int demote);