mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-22 10:19: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:
parent
868dabb402
commit
2c4757352d
@ -450,6 +450,8 @@ keygripstr_from_pk_file (app_t app, int pkfid, int cfid, char *r_gripstr,
|
||||
|
||||
if (!err)
|
||||
{
|
||||
if (r_algo)
|
||||
*r_algo = algo;
|
||||
if (r_algostr)
|
||||
{
|
||||
*r_algostr = algostr;
|
||||
|
Loading…
x
Reference in New Issue
Block a user