summaryrefslogtreecommitdiff
path: root/cipher/pubkey.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2013-09-07 10:06:46 +0200
committerWerner Koch <wk@gnupg.org>2013-09-20 14:17:01 +0200
commit64cd7ab93da7c95cc8aa320c61c6e29f9e2399c4 (patch)
tree842fc4b439617924b0e9868ba6290ef79dc48c2f /cipher/pubkey.c
parent6576f0a7684292cb5691bfcabad0acca4c06c014 (diff)
downloadlibgcrypt-64cd7ab93da7c95cc8aa320c61c6e29f9e2399c4.tar.gz
pk: Remove unused function.
* cipher/pubkey.c (_gcry_pk_aliased_algo_name): Remove
Diffstat (limited to 'cipher/pubkey.c')
-rw-r--r--cipher/pubkey.c22
1 files changed, 0 insertions, 22 deletions
diff --git a/cipher/pubkey.c b/cipher/pubkey.c
index 736d4b92..7085b25f 100644
--- a/cipher/pubkey.c
+++ b/cipher/pubkey.c
@@ -153,28 +153,6 @@ gcry_pk_algo_name (int algo)
}
-/* A special version of gcry_pk_algo name to return the first aliased
- name of the algorithm. This is required to adhere to the spki
- specs where the algorithm names are lowercase. */
-const char *
-_gcry_pk_aliased_algo_name (int algo)
-{
- gcry_pk_spec_t *spec;
- const char *name;
-
- spec = spec_from_algo (algo);
- if (spec)
- {
- name = spec->aliases? *spec->aliases : NULL;
- if (!name || !*name)
- name = spec->name;
- }
- else
- name = NULL;
- return name;
-}
-
-
/****************
* A USE of 0 means: don't care.
*/