aboutsummaryrefslogtreecommitdiffstats
path: root/g10/gpgv.c
diff options
context:
space:
mode:
Diffstat (limited to 'g10/gpgv.c')
-rw-r--r--g10/gpgv.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/g10/gpgv.c b/g10/gpgv.c
index 6734ee2f7..73f3be09b 100644
--- a/g10/gpgv.c
+++ b/g10/gpgv.c
@@ -122,8 +122,13 @@ main( int argc, char **argv )
set_strusage (my_strusage);
log_set_prefix ("gpgv", 1);
+
+ /* Make sure that our subsystems are ready. */
+ init_common_subsystems ();
+
gnupg_init_signals (0, NULL);
i18n_init();
+
opt.command_fd = -1; /* no command fd */
opt.pgp2_workarounds = 1;
opt.keyserver_options.options|=KEYSERVER_AUTO_KEY_RETRIEVE;
@@ -136,8 +141,6 @@ main( int argc, char **argv )
tty_batchmode(1);
disable_dotlock();
- set_native_charset (NULL); /* Try to auto set the character set */
-
pargs.argc = &argc;
pargs.argv = &argv;
pargs.flags= 1; /* do not remove the args */