summaryrefslogtreecommitdiffstats
path: root/tools/symcryptrun.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2015-01-28 19:57:22 +0100
committerWerner Koch <wk@gnupg.org>2015-01-28 19:57:22 +0100
commit0c2bfd9d5a49a6134188f8f7820f6ccdebd9f181 (patch)
tree15c64db121e54ac1fa076be8ced08ee1ceffcf70 /tools/symcryptrun.c
parentgpg: Allow predefined names as answer to the keygen.algo prompt. (diff)
downloadgnupg2-0c2bfd9d5a49a6134188f8f7820f6ccdebd9f181.tar.xz
gnupg2-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 <wk@gnupg.org>
Diffstat (limited to '')
-rw-r--r--tools/symcryptrun.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/symcryptrun.c b/tools/symcryptrun.c
index 4873d7690..c7fc5b6b3 100644
--- a/tools/symcryptrun.c
+++ b/tools/symcryptrun.c
@@ -889,6 +889,7 @@ main (int argc, char **argv)
char *logfile = NULL;
int default_config = 1;
+ early_system_init ();
set_strusage (my_strusage);
log_set_prefix ("symcryptrun", 1);