diff options
author | Soujyu Tanaka <soujyu.tanaka@access-company.com> | 2019-03-27 16:21:58 +0900 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2019-03-29 10:02:06 +0000 |
commit | fd1ab9af228b8361f4ca8bda99a8f1b6ad278bd3 (patch) | |
tree | 509ab36d239bb03d4747a2735c7af053f17c946f /crypto/rand | |
parent | 916704b3c6256955e6df5141437a1a809d3539d8 (diff) |
Circumvent a problem of lacking GetEnvironmentVariable() in WindowsCE.
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/8596)
(cherry picked from commit 3d098890b23598d1f9455b354f46045a231459cd)
Diffstat (limited to 'crypto/rand')
-rw-r--r-- | crypto/rand/randfile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/rand/randfile.c b/crypto/rand/randfile.c index 1b737d1ba2..f61c48139c 100644 --- a/crypto/rand/randfile.c +++ b/crypto/rand/randfile.c @@ -254,7 +254,7 @@ const char *RAND_file_name(char *buf, size_t size) size_t len; int use_randfile = 1; -#if defined(_WIN32) && defined(CP_UTF8) +#if defined(_WIN32) && defined(CP_UTF8) && !defined(_WIN32_WCE) DWORD envlen; WCHAR *var; |