aboutsummaryrefslogtreecommitdiffstats
path: root/sm
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2008-12-09 08:58:02 +0000
committerWerner Koch <[email protected]>2008-12-09 08:58:02 +0000
commit382d2f8efbb31b1eee16c1bbcd521099eb42c622 (patch)
tree514044051e08dcc8906d00ddc89a50053483a25b /sm
parentAlign ticker to the full or half second. (diff)
downloadgnupg-382d2f8efbb31b1eee16c1bbcd521099eb42c622.tar.gz
gnupg-382d2f8efbb31b1eee16c1bbcd521099eb42c622.zip
Minor fixes.
Diffstat (limited to 'sm')
-rw-r--r--sm/ChangeLog4
-rw-r--r--sm/gpgsm.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/sm/ChangeLog b/sm/ChangeLog
index 67e35f0b5..5f76a5983 100644
--- a/sm/ChangeLog
+++ b/sm/ChangeLog
@@ -1,3 +1,7 @@
+2008-12-09 Werner Koch <[email protected]>
+
+ * gpgsm.c (main): Call i18n_init before init_common_subsystems.
+
2008-12-05 Werner Koch <[email protected]>
* certreqgen.c (create_request): Provide a custom prompt for the
diff --git a/sm/gpgsm.c b/sm/gpgsm.c
index 5177d108e..4aa0dc9eb 100644
--- a/sm/gpgsm.c
+++ b/sm/gpgsm.c
@@ -869,6 +869,7 @@ main ( int argc, char **argv)
log_set_prefix ("gpgsm", 1);
/* Make sure that our subsystems are ready. */
+ i18n_init();
init_common_subsystems ();
/* Check that the libraries are suitable. Do it here because the
@@ -888,7 +889,6 @@ main ( int argc, char **argv)
gnupg_init_signals (0, emergency_cleanup);
create_dotlock (NULL); /* register locking cleanup */
- i18n_init();
opt.def_cipher_algoid = "AES"; /*des-EDE3-CBC*/