Home GnuPG
Diffusion GnuPG 6fe5c8c06e8c

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
rGb4cb91d5fbe2: w32: Add another pinentry search path
Branches
Unknown
Tags
Unknown