aboutsummaryrefslogtreecommitdiffstats
path: root/scd/command.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2020-05-05 06:07:11 +0000
committerWerner Koch <[email protected]>2020-05-05 06:07:11 +0000
commit314859d7e7de5010ca1e9d90b83acf3bc8493631 (patch)
tree7fb017efa8cac15991ce5fc0c8839d7db2c2c8c6 /scd/command.c
parentscd:nks: Add do_with_keygrip and implement a cache. (diff)
downloadgnupg-314859d7e7de5010ca1e9d90b83acf3bc8493631.tar.gz
gnupg-314859d7e7de5010ca1e9d90b83acf3bc8493631.zip
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 <[email protected]>
Diffstat (limited to 'scd/command.c')
-rw-r--r--scd/command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/scd/command.c b/scd/command.c
index 98095f259..f0c3b86a2 100644
--- a/scd/command.c
+++ b/scd/command.c
@@ -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",