aboutsummaryrefslogtreecommitdiffstats
path: root/tools/gpg-connect-agent.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 /tools/gpg-connect-agent.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 'tools/gpg-connect-agent.c')
-rw-r--r--tools/gpg-connect-agent.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/gpg-connect-agent.c b/tools/gpg-connect-agent.c
index 1d9bb665d..f1d123ffa 100644
--- a/tools/gpg-connect-agent.c
+++ b/tools/gpg-connect-agent.c
@@ -1169,6 +1169,7 @@ main (int argc, char **argv)
int loopidx;
char **cmdline_commands = NULL;
+ early_system_init ();
gnupg_rl_initialize ();
set_strusage (my_strusage);
log_set_prefix ("gpg-connect-agent", 1);