mirror of
git://git.gnupg.org/gnupg.git
synced 2024-06-09 23:39:51 +02:00
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;
|
estream_t fp;
|
||||||
|
|
||||||
fname = fname_from_keygrip (grip);
|
fname = fname_from_keygrip (grip);
|
||||||
if (fname)
|
if (!fname)
|
||||||
return gpg_error_from_syserror ();
|
return gpg_error_from_syserror ();
|
||||||
|
|
||||||
/* FIXME: Write to a temp file first so that write failures during
|
/* FIXME: Write to a temp file first so that write failures during
|
||||||
|
|
Loading…
Reference in New Issue
Block a user