mirror of
https://github.com/cuberite/polarssl.git
synced 2025-09-24 05:00:45 -04:00
Fixes for MSVC6
(cherry picked from commit 7a2538ee38f6fde58bc6d3eb45624a5ac8eeaa30)
This commit is contained in:
parent
5f5593a30e
commit
cf45a56631
@ -18,6 +18,7 @@ Bugfix
|
||||
* Memory leak when using RSA_PKCS_V21 operations fixed
|
||||
* Handle encryption with private key and decryption with public key as per
|
||||
RFC 2313
|
||||
* Fixes for MSVC6
|
||||
|
||||
Security
|
||||
* Fixed potential memory zeroization on miscrafted RSA key (found by Eloi
|
||||
|
@ -40,10 +40,10 @@
|
||||
#if !defined(POLARSSL_NO_PLATFORM_ENTROPY)
|
||||
#if defined(_WIN32)
|
||||
|
||||
#include <windows.h>
|
||||
#if !defined(_WIN32_WINNT)
|
||||
#define _WIN32_WINNT 0x0400
|
||||
#endif
|
||||
#include <windows.h>
|
||||
#include <wincrypt.h>
|
||||
|
||||
int platform_entropy_poll( void *data, unsigned char *output, size_t len,
|
||||
|
Loading…
x
Reference in New Issue
Block a user