diff options
Diffstat (limited to 'agent')
-rw-r--r-- | agent/gpg-agent.c | 2 | ||||
-rw-r--r-- | agent/preset-passphrase.c | 1 | ||||
-rw-r--r-- | agent/protect-tool.c | 1 |
3 files changed, 4 insertions, 0 deletions
diff --git a/agent/gpg-agent.c b/agent/gpg-agent.c index fe310f490..a874e76c2 100644 --- a/agent/gpg-agent.c +++ b/agent/gpg-agent.c @@ -665,6 +665,8 @@ main (int argc, char **argv ) gpg_error_t err; struct assuan_malloc_hooks malloc_hooks; + early_system_init (); + /* Before we do anything else we save the list of currently open file descriptors and the signal mask. This info is required to do the exec call properly. */ diff --git a/agent/preset-passphrase.c b/agent/preset-passphrase.c index ad8e50047..6378d7a56 100644 --- a/agent/preset-passphrase.c +++ b/agent/preset-passphrase.c @@ -212,6 +212,7 @@ main (int argc, char **argv) int cmd = 0; const char *keygrip = NULL; + early_system_init (); set_strusage (my_strusage); log_set_prefix ("gpg-preset-passphrase", 1); diff --git a/agent/protect-tool.c b/agent/protect-tool.c index 5e540cf00..dc363f2ca 100644 --- a/agent/protect-tool.c +++ b/agent/protect-tool.c @@ -549,6 +549,7 @@ main (int argc, char **argv ) int cmd = 0; const char *fname; + early_system_init (); set_strusage (my_strusage); gcry_control (GCRYCTL_SUSPEND_SECMEM_WARN); log_set_prefix ("gpg-protect-tool", 1); |