mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-23 03:15:43 +01:00
parent
5f5593a30e
commit
cf45a56631
@ -18,6 +18,7 @@ Bugfix
|
|||||||
* Memory leak when using RSA_PKCS_V21 operations fixed
|
* Memory leak when using RSA_PKCS_V21 operations fixed
|
||||||
* Handle encryption with private key and decryption with public key as per
|
* Handle encryption with private key and decryption with public key as per
|
||||||
RFC 2313
|
RFC 2313
|
||||||
|
* Fixes for MSVC6
|
||||||
|
|
||||||
Security
|
Security
|
||||||
* Fixed potential memory zeroization on miscrafted RSA key (found by Eloi
|
* Fixed potential memory zeroization on miscrafted RSA key (found by Eloi
|
||||||
|
@ -40,10 +40,10 @@
|
|||||||
#if !defined(POLARSSL_NO_PLATFORM_ENTROPY)
|
#if !defined(POLARSSL_NO_PLATFORM_ENTROPY)
|
||||||
#if defined(_WIN32)
|
#if defined(_WIN32)
|
||||||
|
|
||||||
#include <windows.h>
|
|
||||||
#if !defined(_WIN32_WINNT)
|
#if !defined(_WIN32_WINNT)
|
||||||
#define _WIN32_WINNT 0x0400
|
#define _WIN32_WINNT 0x0400
|
||||||
#endif
|
#endif
|
||||||
|
#include <windows.h>
|
||||||
#include <wincrypt.h>
|
#include <wincrypt.h>
|
||||||
|
|
||||||
int platform_entropy_poll( void *data, unsigned char *output, size_t len,
|
int platform_entropy_poll( void *data, unsigned char *output, size_t len,
|
||||||
|
Loading…
Reference in New Issue
Block a user