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:
parent
1307081dc0
commit
8a9a473564
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user