mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
common: Provide function to get public key algo names in our format.
* tools/card-tool-misc.c (pubkey_algo_string): Move to ... * common/sexputil.c (pubkey_algo_string): here. -- The new gpg format for public key algorithms is useful at other places as well. Thus we make this new function available. Note that the code we use in gpg is not based on s-expressions and thus a new function was required. Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
a1cb4a940f
commit
03bf8e967a
4 changed files with 59 additions and 60 deletions
|
@ -192,8 +192,6 @@ gpg_error_t test_get_matching_keys (const char *hexgrip);
|
|||
/*-- card-tool-misc.c --*/
|
||||
key_info_t find_kinfo (card_info_t info, const char *keyref);
|
||||
void *hex_to_buffer (const char *string, size_t *r_length);
|
||||
char *pubkey_algo_string (gcry_sexp_t s_pkey);
|
||||
|
||||
|
||||
/*-- card-call-scd.c --*/
|
||||
void release_card_info (card_info_t info);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue