aboutsummaryrefslogtreecommitdiffstats
path: root/dirmngr/dirmngr.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2015-01-28 18:57:22 +0000
committerWerner Koch <[email protected]>2015-01-28 18:57:22 +0000
commit0c2bfd9d5a49a6134188f8f7820f6ccdebd9f181 (patch)
tree15c64db121e54ac1fa076be8ced08ee1ceffcf70 /dirmngr/dirmngr.c
parentgpg: Allow predefined names as answer to the keygen.algo prompt. (diff)
downloadgnupg-0c2bfd9d5a49a6134188f8f7820f6ccdebd9f181.tar.gz
gnupg-0c2bfd9d5a49a6134188f8f7820f6ccdebd9f181.zip
Add a hook to be called right after main.
* common/init.c (early_system_init): New stub function. Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to '')
-rw-r--r--dirmngr/dirmngr.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/dirmngr/dirmngr.c b/dirmngr/dirmngr.c
index d3424c19e..a46f736a7 100644
--- a/dirmngr/dirmngr.c
+++ b/dirmngr/dirmngr.c
@@ -650,6 +650,8 @@ main (int argc, char **argv)
int homedir_seen = 0;
struct assuan_malloc_hooks malloc_hooks;
+ early_system_init ();
+
#ifdef USE_W32_SERVICE
/* The option will be set by main() below if we should run as a
system daemon. */