aboutsummaryrefslogtreecommitdiffstats
path: root/agent/protect-tool.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 /agent/protect-tool.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 'agent/protect-tool.c')
-rw-r--r--agent/protect-tool.c1
1 files changed, 1 insertions, 0 deletions
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);