diff options
author | Soujyu Tanaka <soujyu.tanaka@access-company.com> | 2019-03-27 09:30:47 +0100 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2019-03-29 10:54:12 +0100 |
commit | 9c98aa354df8b144a238346b63de8b82f04175dd (patch) | |
tree | a64174afa25e814a3569e7fe8133a9f770a7f42e /crypto/init.c | |
parent | Circumvent a problem of lacking GetEnvironmentVariable() in WindowsCE. (diff) | |
download | openssl-9c98aa354df8b144a238346b63de8b82f04175dd.tar.xz openssl-9c98aa354df8b144a238346b63de8b82f04175dd.zip |
For the lack of GetModuleHandleEx(), we use DSO route for WinCE.
Revert win32_pathbyaddr() which is used in DSO_dsobyaddr().
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/init.c')
-rw-r--r-- | crypto/init.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/init.c b/crypto/init.c index 12c9d627fe..dfc5c5f81c 100644 --- a/crypto/init.c +++ b/crypto/init.c @@ -163,7 +163,7 @@ DEFINE_RUN_ONCE_STATIC(ossl_init_load_crypto_nodelete) #if !defined(OPENSSL_NO_DSO) \ && !defined(OPENSSL_USE_NODELETE) \ && !defined(OPENSSL_NO_PINSHARED) -# ifdef DSO_WIN32 +# if defined(DSO_WIN32) && !defined(_WIN32_WCE) { HMODULE handle = NULL; BOOL ret; @@ -743,7 +743,7 @@ int OPENSSL_atexit(void (*handler)(void)) } handlersym; handlersym.func = handler; -# ifdef DSO_WIN32 +# if defined(DSO_WIN32) && !defined(_WIN32_WCE) { HMODULE handle = NULL; BOOL ret; |