aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/rand/rand_win.c
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2002-12-03 14:20:44 +0000
committerRichard Levitte <levitte@openssl.org>2002-12-03 14:20:44 +0000
commit7a1f92fdc39c5840cb8f491fa59a6ae5b9b5f610 (patch)
tree43e87cd1c6d73fdc59d70f3b2e4a75fc7cb2f5f2 /crypto/rand/rand_win.c
parente7a285694ee5213c26d5d1216fa04724a82f3da5 (diff)
downloadopenssl-7a1f92fdc39c5840cb8f491fa59a6ae5b9b5f610.tar.gz
Windows CE updates, contributed by Steven Reddie <smr@essemer.com.au>
Diffstat (limited to 'crypto/rand/rand_win.c')
-rw-r--r--crypto/rand/rand_win.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/rand/rand_win.c b/crypto/rand/rand_win.c
index 37f172f8a4..113b58678f 100644
--- a/crypto/rand/rand_win.c
+++ b/crypto/rand/rand_win.c
@@ -211,7 +211,7 @@ int RAND_poll(void)
osverinfo.dwOSVersionInfoSize = sizeof(OSVERSIONINFO) ;
GetVersionEx( &osverinfo ) ;
-#ifdef OPENSSL_SYS_WINCE
+#if defined(OPENSSL_SYS_WINCE) && WCEPLATFORM!=MS_HPC_PRO
/* poll the CryptoAPI PRNG */
/* The CryptoAPI returns sizeof(buf) bytes of randomness */
if (CryptAcquireContext(&hProvider, 0, 0, PROV_RSA_FULL, CRYPT_VERIFYCONTEXT))