aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2007-07-12 15:25:20 +0000
committerWerner Koch <[email protected]>2007-07-12 15:25:20 +0000
commit906da085cf6a15173b1ffdf698159d55fd0d67fe (patch)
treef1e5e25de81f139aa8592828d239e9f62d8abbd7 /tests
parent2007-07-10 Marcus Brinkmann <[email protected]> (diff)
downloadgpgme-906da085cf6a15173b1ffdf698159d55fd0d67fe.tar.gz
gpgme-906da085cf6a15173b1ffdf698159d55fd0d67fe.zip
Changes for W32
Diffstat (limited to 'tests')
-rw-r--r--tests/ChangeLog5
-rw-r--r--tests/gpgsm/t-support.h2
2 files changed, 7 insertions, 0 deletions
diff --git a/tests/ChangeLog b/tests/ChangeLog
index f83207fd..48a41c24 100644
--- a/tests/ChangeLog
+++ b/tests/ChangeLog
@@ -1,3 +1,8 @@
+2007-07-12 Werner Koch <[email protected]>
+
+ * gpgsm/t-support.h (init_gpgme) [W32]: Do not init the locales as
+ the constants are not available.
+
2007-02-26 Werner Koch <[email protected]>
* gpg/t-verify.c (double_plaintext_sig): New.
diff --git a/tests/gpgsm/t-support.h b/tests/gpgsm/t-support.h
index 671317ff..07f00c38 100644
--- a/tests/gpgsm/t-support.h
+++ b/tests/gpgsm/t-support.h
@@ -91,9 +91,11 @@ init_gpgme (gpgme_protocol_t proto)
gpgme_error_t err;
gpgme_check_version (NULL);
+#ifndef HAVE_W32_SYSTEM
setlocale (LC_ALL, "");
gpgme_set_locale (NULL, LC_CTYPE, setlocale (LC_CTYPE, NULL));
gpgme_set_locale (NULL, LC_MESSAGES, setlocale (LC_MESSAGES, NULL));
+#endif
err = gpgme_engine_check_version (proto);
fail_if_err (err);