mirror of git://git.gnupg.org/gnupg.git
agent: Fix bug introduced earlier today.
* agent/findkey.c (agent_write_private_key): Fix condition.
--
Fixes-commit: 755920d433
This commit is contained in:
parent
891b941bbf
commit
3591112fdb
|
@ -268,7 +268,7 @@ agent_write_private_key (const unsigned char *grip,
|
|||
estream_t fp;
|
||||
|
||||
fname = fname_from_keygrip (grip);
|
||||
if (fname)
|
||||
if (!fname)
|
||||
return gpg_error_from_syserror ();
|
||||
|
||||
/* FIXME: Write to a temp file first so that write failures during
|
||||
|
|
Loading…
Reference in New Issue