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