mirror of
https://github.com/openssl/openssl.git
synced 2025-01-08 18:23:31 +08:00
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)
This commit is contained in:
parent
09305a7d0a
commit
3d098890b2
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user