diff options
author | Werner Koch <[email protected]> | 2020-05-05 06:07:11 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2020-05-05 06:07:11 +0000 |
commit | 314859d7e7de5010ca1e9d90b83acf3bc8493631 (patch) | |
tree | 7fb017efa8cac15991ce5fc0c8839d7db2c2c8c6 /scd/app-dinsig.c | |
parent | scd:nks: Add do_with_keygrip and implement a cache. (diff) | |
download | gnupg-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/app-dinsig.c')
-rw-r--r-- | scd/app-dinsig.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scd/app-dinsig.c b/scd/app-dinsig.c index 8dc643429..84d4b2aa7 100644 --- a/scd/app-dinsig.c +++ b/scd/app-dinsig.c @@ -137,7 +137,7 @@ do_learn_status (app_t app, ctrl_t ctrl, unsigned int flags) ksba_cert_release (cert); return err; } - err = app_help_get_keygrip_string (cert, hexkeygrip, NULL); + err = app_help_get_keygrip_string (cert, hexkeygrip, NULL, NULL); if (err) { log_error ("failed to calculate the keygrip for FID 0x%04X\n", fid); |