mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
common: Extend function pubkey_algo_string.
* common/sexputil.c (pubkey_algo_string): Add arg R_ALGOID. * sm/certreqgen-ui.c (gpgsm_gencertreq_tty): Adjust. * tools/gpg-card.c (list_one_kinfo): Ditto. Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
e100ace7f8
commit
f952226043
4 changed files with 10 additions and 5 deletions
|
@ -258,7 +258,7 @@ gpgsm_gencertreq_tty (ctrl_t ctrl, estream_t output_stream)
|
|||
if (!gpgsm_agent_readkey (ctrl, 1, keyref, &pkey))
|
||||
{
|
||||
if (!gcry_sexp_new (&s_pkey, pkey, 0, 0))
|
||||
algostr = pubkey_algo_string (s_pkey);
|
||||
algostr = pubkey_algo_string (s_pkey, NULL);
|
||||
gcry_sexp_release (s_pkey);
|
||||
}
|
||||
xfree (pkey);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue