Hi, The following series of patches enables Windows builds and fixes a few bugs to boot. Most of it I'm quite comfortable with.
The only unfortunate thing in these patches is switching between OpenSSL and PolarSSL. This currently requires changing two flags instead of one, due to the build system. If anyone has any suggestions there, please let me know. Adriaan --- [PATCH 1/8] Moved prng_uninit out of crypto_uninit_lib [PATCH 2/8] Moved CryptoAPI header include to the ssl_openssl.c [PATCH 3/8] Fixed missing comma in plugin.h [PATCH 4/8] Reordered functions to ensure warning-free Windows build [PATCH 5/8] Added options to switch between OpenSSL and PolarSSL and [PATCH 6/8] Moved from strsep to strtok, for Windows compatibility [PATCH 7/8] Minor cleanup to enable warning-free Windows build: [PATCH 8/8] Fixed a typo when initialising cryptoapi certs