From e442111e29e4280cbe34b1a0a7eb520a87567e39 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20P=C3=A9gouri=C3=A9-Gonnard?= Date: Wed, 2 Apr 2014 13:50:05 +0200 Subject: [PATCH] Fix typo which broke ENTROPY_FORCE_SHA256 --- ChangeLog | 2 ++ include/polarssl/entropy.h | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 9880d1320..0d65cec31 100644 --- a/ChangeLog +++ b/ChangeLog @@ -12,6 +12,8 @@ Bugfix * Potential memory leak in mpi_exp_mod() when error occurs during calculation of RR. * 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 Features diff --git a/include/polarssl/entropy.h b/include/polarssl/entropy.h index 73e06f69b..9a5f4d7eb 100644 --- a/include/polarssl/entropy.h +++ b/include/polarssl/entropy.h @@ -31,7 +31,7 @@ #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" #define POLARSSL_ENTROPY_SHA512_ACCUMULATOR #else