Windows CE updates, contributed by Steven Reddie <smr@essemer.com.au>

This commit is contained in:
Richard Levitte
2002-12-03 14:21:32 +00:00
parent 2905015c6e
commit a067cba35b
15 changed files with 24 additions and 20 deletions

View File

@@ -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))