summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2016-08-25 08:06:26 +0200
committerMatt Caswell <matt@openssl.org>2016-08-25 11:56:28 +0100
commitfb5d9f1db5552facbc5269bc2856b58f5e4e2d13 (patch)
treef574742694791f8237d5583856bcd1b484d61bfa /test
parent647ac8d3d7143e3721d55e1f57730b6f26e72fc9 (diff)
Windows: UTF-8 opt-in for command-line arguments and console input.
User can make Windows openssl.exe to treat command-line arguments and console input as UTF-8 By setting OPENSSL_WIN32_UTF8 environment variable (to any value). This is likely to be required for data interchangeability with other OSes and PKCS#12 containers generated with Windows CryptoAPI. Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'test')
-rw-r--r--test/recipes/80-test_pkcs12.t1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/recipes/80-test_pkcs12.t b/test/recipes/80-test_pkcs12.t
index 95d1e69161..be9a72c8e2 100644
--- a/test/recipes/80-test_pkcs12.t
+++ b/test/recipes/80-test_pkcs12.t
@@ -53,6 +53,7 @@ if (eval { require Win32::API; 1; }) {
}
}
}
+$ENV{OPENSSL_WIN32_UTF8}=1;
plan tests => 1;