projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
WCE update, mostly typos.
[openssl.git]
/
crypto
/
rand
/
rand_win.c
diff --git
a/crypto/rand/rand_win.c
b/crypto/rand/rand_win.c
index 02cce3417043c3d509f0ecc5c78507f272f40224..3851d85bcc4e08d098bea9860f14b33eea8fa37a 100644
(file)
--- a/
crypto/rand/rand_win.c
+++ b/
crypto/rand/rand_win.c
@@
-205,7
+205,9
@@
int RAND_poll(void)
GetVersionEx( &osverinfo ) ;
#if defined(OPENSSL_SYS_WINCE)
GetVersionEx( &osverinfo ) ;
#if defined(OPENSSL_SYS_WINCE)
-# if defined(_WIN32_WCE) && _WIN32_WCE>=210
+# if defined(_WIN32_WCE) && _WIN32_WCE>=300
+/* Even though MSDN says _WIN32_WCE>=210, it doesn't seem to be available
+ * in commonly available implementations prior 300... */
# ifndef CryptAcquireContext
/* reserve for broken header... */
# define CryptAcquireContext CryptAcquireContextW
# ifndef CryptAcquireContext
/* reserve for broken header... */
# define CryptAcquireContext CryptAcquireContextW