Home GnuPG
Diffusion GnuPG 3828dd7a4067

common: Add keyword sysconfdir to the optional gpgconf.ctl file.

Description

common: Add keyword sysconfdir to the optional gpgconf.ctl file.

* common/homedir.c (unix_rootdir): Add arg want_sysconfdir.
(gnupg_sysconfdir): Return it.

Our regression test suite has the problem that we can't disable the
use of the global config files or test them using the regualr
binaries. This new keyword will allow us to overcome the problem.

Details

Provenance
wernerAuthored on Sep 29 2021, 12:05 PM
Parents
rG82328165cf4b: common: Support a gpgconf.ctl file under Unix.
Branches
Unknown
Tags
Unknown