gnupg/sm
Werner Koch dabc314b71
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>
2020-11-04 16:13:04 +01:00
..
ChangeLog-2011 Generate the ChangeLog from commit logs. 2011-12-01 11:09:02 +01:00
Makefile.am sm: New options to prepare the use of keyboxd. 2020-09-03 13:49:20 +02:00
call-agent.c Use only one copy of the warn_server_mismatch function. 2020-09-01 20:43:57 +02:00
call-dirmngr.c sm: Add arg ctrl to keydb_new. 2020-09-03 13:49:20 +02:00
certchain.c Replace most of the remaining stdio calls by estream calls. 2020-10-20 12:15:56 +02:00
certcheck.c gpgsm: Replace all assert calls by log_assert. 2020-07-08 14:40:34 +02:00
certdump.c sm: Fix a bug in the rfc2253 parser 2020-08-28 09:09:05 +02:00
certlist.c sm: Implement initial support for keyboxd. 2020-09-10 13:05:17 +02:00
certreqgen-ui.c gpgsm: Replace all assert calls by log_assert. 2020-07-08 14:40:34 +02:00
certreqgen.c gpgsm: Replace all assert calls by log_assert. 2020-07-08 14:40:34 +02:00
decrypt.c sm: Add arg ctrl to keydb_new. 2020-09-03 13:49:20 +02:00
delete.c sm: Implement delete key in keyboxd mode 2020-09-21 09:20:40 +02:00
encrypt.c sm: Add arg ctrl to keydb_new. 2020-09-03 13:49:20 +02:00
export.c sm: Implement initial support for keyboxd. 2020-09-10 13:05:17 +02:00
fingerprint.c gpgsm: Replace all assert calls by log_assert. 2020-07-08 14:40:34 +02:00
gpgsm-w32info.rc w32: Add icons and version information. 2013-05-07 21:35:48 +02:00
gpgsm.c Replace most calls to open by a new wrapper. 2020-10-20 14:08:35 +02:00
gpgsm.h sm: Implement initial support for keyboxd. 2020-09-10 13:05:17 +02:00
import.c sm: Implement initial support for keyboxd. 2020-09-10 13:05:17 +02:00
keydb.c common: Fix duplicate implementation of try_make_homedir. 2020-11-04 16:13:04 +01:00
keydb.h sm: Implement initial support for keyboxd. 2020-09-10 13:05:17 +02:00
keylist.c sm: Implement initial support for keyboxd. 2020-09-10 13:05:17 +02:00
minip12.c gpgsm: Replace all assert calls by log_assert. 2020-07-08 14:40:34 +02:00
minip12.h sm: Support import of PKCS#12 encoded ECC private keys. 2020-04-21 21:05:39 +02:00
misc.c sm: Exclude rsaPSS from de-vs compliance mode. 2020-07-03 16:15:29 +02:00
passphrase.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
passphrase.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
qualified.c Replace most of the remaining stdio calls by estream calls. 2020-10-20 12:15:56 +02:00
server.c sm: New options to prepare the use of keyboxd. 2020-09-03 13:49:20 +02:00
sign.c sm: Implement initial support for keyboxd. 2020-09-10 13:05:17 +02:00
t-minip12.c sm: Add support to export ECC private keys. 2020-04-27 19:54:39 +02:00
verify.c sm: Add arg ctrl to keydb_new. 2020-09-03 13:49:20 +02:00