aboutsummaryrefslogtreecommitdiff
path: root/src/pki_crypto.c
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 /src/pki_crypto.c
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 'src/pki_crypto.c')
-rw-r--r--src/pki_crypto.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pki_crypto.c b/src/pki_crypto.c
index d576a54d..884c5382 100644
--- a/src/pki_crypto.c
+++ b/src/pki_crypto.c
@@ -89,7 +89,7 @@ static int pki_key_ecdsa_to_nid(EC_KEY *k)
return -1;
}
-static const char *pki_key_ecdsa_nid_to_name(int nid)
+const char *pki_key_ecdsa_nid_to_name(int nid)
{
switch (nid) {
case NID_X9_62_prime256v1: