summaryrefslogtreecommitdiffstats
path: root/sm
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 /sm
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 'sm')
-rw-r--r--sm/gpgsm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sm/gpgsm.c b/sm/gpgsm.c
index 72bceb433..62e29b86f 100644
--- a/sm/gpgsm.c
+++ b/sm/gpgsm.c
@@ -910,6 +910,7 @@ main ( int argc, char **argv)
/*mtrace();*/
+ early_system_init ();
gnupg_reopen_std (GPGSM_NAME);
/* trap_unaligned ();*/
gnupg_rl_initialize ();