1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-24 10:39:57 +01:00

scd:nks: Fix ECC signing if key not given by keygrip.

* scd/app-nks.c (keygripstr_from_pk_file): Set r_algo if not in cache.
This commit is contained in:
Werner Koch 2022-11-15 14:52:40 +01:00
parent 1307081dc0
commit 8a9a473564
No known key found for this signature in database
GPG Key ID: E3FDFF218E45B72B

View File

@ -450,6 +450,8 @@ keygripstr_from_pk_file (app_t app, int pkfid, int cfid, char *r_gripstr,
if (!err) if (!err)
{ {
if (r_algo)
*r_algo = algo;
if (r_algostr) if (r_algostr)
{ {
*r_algostr = algostr; *r_algostr = algostr;