Home GnuPG
Diffusion GnuPG ec847cf17fa8

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
rGca54d3f14893: kbx: Let it include keybox.h to avoid multiple typedefs.
Branches
Unknown
Tags
Unknown