From b32233319b46bb289c761e357af0befd2327cde4 Mon Sep 17 00:00:00 2001 From: Brendan Shanks Date: Fri, 6 Apr 2018 16:47:43 -0700 Subject: [PATCH 1/2] x509.c: Remove unused includes Remove unused includes guarded by MBEDTLS_FS_IO, which doesn't appear anywhere else in the file. --- library/x509.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/library/x509.c b/library/x509.c index 371d6da1d..264c7fb0c 100644 --- a/library/x509.c +++ b/library/x509.c @@ -70,15 +70,6 @@ #include #endif -#if defined(MBEDTLS_FS_IO) -#include -#if !defined(_WIN32) -#include -#include -#include -#endif -#endif - #define CHECK(code) if( ( ret = code ) != 0 ){ return( ret ); } #define CHECK_RANGE(min, max, val) if( val < min || val > max ){ return( ret ); } From 318cd2cc931f1bcb7382875334ad180572df5e6b Mon Sep 17 00:00:00 2001 From: Simon Butcher Date: Mon, 2 Jul 2018 12:00:54 +0100 Subject: [PATCH 2/2] Add ChangeLog entry for #992 fix --- ChangeLog | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ChangeLog b/ChangeLog index 49400160b..e94dfc661 100644 --- a/ChangeLog +++ b/ChangeLog @@ -11,6 +11,8 @@ Bugfix return value. Found by @davidwu2000. #839 * Fix the key_app_writer example which was writing a leading zero byte which was creating an invalid ASN.1 tag. Found by Aryeh R. Fixes #1257. + * Remove unused headers included in x509.c. Found by Chris Hanson and fixed + by Brendan Shanks. Part of a fix for #992. = mbed TLS 2.7.4 branch released 2018-06-18