1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-02 22:46:30 +02:00

scd: Extend an internal function to also return the algo.

* scd/app-help.c (app_help_get_keygrip_string_pk): Add optional arg
r_algo.  Change all callers.
(app_help_get_keygrip_string): Ditto.

Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
Werner Koch 2020-05-05 08:07:11 +02:00
parent 1e72a1a218
commit 314859d7e7
No known key found for this signature in database
GPG key ID: E3FDFF218E45B72B
8 changed files with 24 additions and 17 deletions

View file

@ -651,7 +651,7 @@ do_readkey (card_t card, ctrl_t ctrl, const char *line,
char keygripstr[KEYGRIP_LEN*2+1];
rc = app_help_get_keygrip_string_pk (*pk_p, *pklen_p,
keygripstr, NULL);
keygripstr, NULL, NULL);
if (rc)
{
log_error ("app_help_get_keygrip_string failed: %s\n",