mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-22 10:19:57 +01:00
agent: Fix agent_update_private_key.
* agent/findkey.c (agent_update_private_key): Check FNAME0. -- Fixes-commit: a216e9c028ee389c4bf0250b822d567ffe9ad85e Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
This commit is contained in:
parent
f2ca727978
commit
08e529fa7c
@ -333,7 +333,7 @@ agent_update_private_key (const unsigned char *grip, nvc_t pk)
|
||||
int blocksigs = 0;
|
||||
|
||||
fname0 = fname_from_keygrip (grip, 0);
|
||||
if (!fname)
|
||||
if (!fname0)
|
||||
{
|
||||
err = gpg_error_from_syserror ();
|
||||
goto leave;
|
||||
|
Loading…
x
Reference in New Issue
Block a user