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 09:51:24 +0000 |
commit | 3d098890b23598d1f9455b354f46045a231459cd (patch) | |
tree | 2f353e09005209deccd75680dc47a8ee8cd17523 /crypto | |
parent | 09305a7d0afcf9ae2d5be459ad6e6433ea85f913 (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)
Diffstat (limited to 'crypto')
-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 66cec245a7..7dde54b187 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; |