Home GnuPG
Diffusion GnuPG d9f9b3be0367

g10: Make sure to have the directory for trustdb.
d9f9b3be0367Unpublished

Unpublished Commit · Learn More

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

Description

g10: Make sure to have the directory for trustdb.

* g10/tdbio.c (tdbio_set_dbname): Return earlier if !CREATE.  Check
the directory and create it if none before calling take_write_lock.

Thanks to Marc Deslauriers for the bug report and his patch.

  • GnuPG-bug-id: T2246
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Feb 12 2016, 2:10 AM
Parents
rG75311cfe1807: doc: Note that rngd can also be used to quickly generate insecure keys.
Branches
Unknown
Tags
Unknown