diff options
author | Werner Koch <wk@gnupg.org> | 2004-02-18 17:57:38 +0100 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2004-02-18 17:57:38 +0100 |
commit | bda3467067cb93de9a86b8cad17e20c3f0558d0c (patch) | |
tree | 85d57ec155bec7789647f9ee9303fb34c9dd696c /agent/protect-tool.c | |
parent | * gpgsm.c: Fixed value parsing for --with-validation. (diff) | |
download | gnupg2-bda3467067cb93de9a86b8cad17e20c3f0558d0c.tar.xz gnupg2-bda3467067cb93de9a86b8cad17e20c3f0558d0c.zip |
* protect-tool.c (main): Setup the used character set.
* gpg-agent.c (main): Ditto.
* gpg-agent.c (set_debug): New. New option --debug-level.
(main): New option --gpgconf-list.
Diffstat (limited to 'agent/protect-tool.c')
-rw-r--r-- | agent/protect-tool.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/agent/protect-tool.c b/agent/protect-tool.c index 0bb344424..59f6c6711 100644 --- a/agent/protect-tool.c +++ b/agent/protect-tool.c @@ -872,6 +872,10 @@ main (int argc, char **argv ) set_strusage (my_strusage); gcry_control (GCRYCTL_SUSPEND_SECMEM_WARN); log_set_prefix ("gpg-protect-tool", 1); + + /* Try to auto set the character set. */ + set_native_charset (NULL); + i18n_init (); if (!gcry_check_version (NEED_LIBGCRYPT_VERSION) ) @@ -884,6 +888,7 @@ main (int argc, char **argv ) gcry_control (GCRYCTL_INIT_SECMEM, 16384, 0); + #ifdef __MINGW32__ opt_homedir = read_w32_registry_string ( NULL, "Software\\GNU\\GnuPG", "HomeDir" ); |