aboutsummaryrefslogtreecommitdiffstats
path: root/g10
diff options
context:
space:
mode:
Diffstat (limited to 'g10')
-rw-r--r--g10/gpg.c1
-rw-r--r--g10/gpgv.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/g10/gpg.c b/g10/gpg.c
index 2047e306d..5e929d985 100644
--- a/g10/gpg.c
+++ b/g10/gpg.c
@@ -2048,6 +2048,7 @@ main (int argc, char **argv)
/* Please note that we may running SUID(ROOT), so be very CAREFUL
when adding any stuff between here and the call to
secmem_init() somewhere after the option parsing. */
+ early_system_init ();
gnupg_reopen_std (GPG_NAME);
trap_unaligned ();
gnupg_rl_initialize ();
diff --git a/g10/gpgv.c b/g10/gpgv.c
index f09b5da87..157fdea45 100644
--- a/g10/gpgv.c
+++ b/g10/gpgv.c
@@ -144,6 +144,7 @@ main( int argc, char **argv )
unsigned configlineno;
ctrl_t ctrl;
+ early_system_init ();
set_strusage (my_strusage);
log_set_prefix ("gpgv", 1);