mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-03 12:11:33 +01:00
scd,nks: Fix SEGV for learn for older card.
* scd/app-nks.c (keygripstr_from_pk_file): Set algostr. -- GnuPG-bug-id: 5144 Fixes-commit: 26da47ae53d51e16ae6867cd419ddbf124a94933 Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
This commit is contained in:
parent
572bcacc28
commit
006944b856
@ -440,6 +440,7 @@ keygripstr_from_pk_file (app_t app, int pkfid, int cfid, char *r_gripstr,
|
|||||||
bin2hex (grip, 20, r_gripstr);
|
bin2hex (grip, 20, r_gripstr);
|
||||||
if (r_algo)
|
if (r_algo)
|
||||||
*r_algo = algo;
|
*r_algo = algo;
|
||||||
|
algostr = pubkey_algo_string (sexp, NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user