Home GnuPG
Diffusion GnuPG dabc314b7137

common: Fix duplicate implementation of try_make_homedir.

Description

common: Fix duplicate implementation of try_make_homedir.

* g10/openfile.c (try_make_homedir): Move core of the code to ...
* common/homedir.c (gnupg_maybe_make_homedir): new.
* sm/keydb.c (try_make_homedir): Implement using new function.
* common/homedir.c: Include i18n.h.
* po/POTFILES.in: Add common/homedir.c.
  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Nov 4 2020, 3:36 PM
Parents
rGc8f6f6bbc8b2: w32: Add another pinentry search path
Branches
Unknown
Tags
Unknown