Home GnuPG
Diffusion GnuPG 1ffd475f99ea

agent: Fix saving with FORCE=1.
1ffd475f99eaUnpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

agent: Fix saving with FORCE=1.

* agent/findkey.c (agent_write_private_key): Recover from an error of
GPG_ERR_ENOENT when FORCE=1 and it is opened with "rb+".
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Oct 21 2016, 3:57 AM
Parents
rG71158d8d5f82: tests: Simplify test.
Branches
Unknown
Tags
Unknown

Event Timeline

NIIBE Yutaka <gniibe@fsij.org> committed rG1ffd475f99ea: agent: Fix saving with FORCE=1. (authored by NIIBE Yutaka <gniibe@fsij.org>).Oct 21 2016, 3:57 AM