Fix typo which broke ENTROPY_FORCE_SHA256

This commit is contained in:
Manuel Pégourié-Gonnard 2014-04-02 13:50:05 +02:00
parent a27cd4c62e
commit e442111e29
2 changed files with 3 additions and 1 deletions

View File

@ -12,6 +12,8 @@ Bugfix
* Potential memory leak in mpi_exp_mod() when error occurs during * Potential memory leak in mpi_exp_mod() when error occurs during
calculation of RR. calculation of RR.
* Fixed malloc/free default #define in platform.c (found by Gergely Budai). * Fixed malloc/free default #define in platform.c (found by Gergely Budai).
* Fixed type which made POLARSSL_ENTROPY_FORCE_SHA256 uneffective (found by
Gergely Budai).
= PolarSSL 1.3.5 released on 2014-03-26 = PolarSSL 1.3.5 released on 2014-03-26
Features Features

View File

@ -31,7 +31,7 @@
#include "config.h" #include "config.h"
#if defined(POLARSSL_SHA512_C) && !defined(POLARSSL_FORCE_ENTROPY_SHA256) #if defined(POLARSSL_SHA512_C) && !defined(POLARSSL_ENTROPY_FORCE_SHA256)
#include "sha512.h" #include "sha512.h"
#define POLARSSL_ENTROPY_SHA512_ACCUMULATOR #define POLARSSL_ENTROPY_SHA512_ACCUMULATOR
#else #else