summaryrefslogtreecommitdiffstats
path: root/common/comopt.h
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2023-04-04 16:39:59 +0200
committerWerner Koch <wk@gnupg.org>2023-04-04 16:39:59 +0200
commitd9e7488b17fdc617eec735e2c0485b69285ba511 (patch)
treecd1423ce0870d036b5e0b7dd0425eb7222d84d62 /common/comopt.h
parentspeedo: Remove deleted prf files from the Windows installer (diff)
downloadgnupg2-d9e7488b17fdc617eec735e2c0485b69285ba511.tar.xz
gnupg2-d9e7488b17fdc617eec735e2c0485b69285ba511.zip
Use the keyboxd for a fresh install
* common/homedir.c (gnupg_maybe_make_homedir): Also create a common.conf. * g10/keydb.c: Include comopt.h. (maybe_create_keyring_or_box): Detect the creation of a common.conf. * g10/gpg.c (main): Avoid adding more resources in this case. * sm/keydb.c: Include comopt.h. (maybe_create_keybox): Detect the creation of a common.conf. * common/comopt.h (comopt): Remove the conditional "extern".
Diffstat (limited to 'common/comopt.h')
-rw-r--r--common/comopt.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/common/comopt.h b/common/comopt.h
index 7947f35b3..2a27fddac 100644
--- a/common/comopt.h
+++ b/common/comopt.h
@@ -35,7 +35,6 @@
/* Common options for all GnuPG components. */
-EXTERN_UNLESS_MAIN_MODULE
struct
{
char *logfile; /* Socket used by daemons for logging. */