From fc547ffb921f88a4d4325058b65207960b289830 Mon Sep 17 00:00:00 2001 From: Andres Amaya Garcia Date: Wed, 26 Sep 2018 10:59:20 +0100 Subject: [PATCH] Add ChangeLog entry for unused bits in bitstrings --- ChangeLog | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ChangeLog b/ChangeLog index 07cc87692..05ae29e1f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -9,6 +9,12 @@ Bugfix * Remove a duplicate #include in a sample program. Fixed by Masashi Honma #2326. * Reduce stack usage of `mpi_write_hlp()` by eliminating recursion. Fixes #2190. + * Ensure that unused bits are zero when writing ASN.1 bitstrings when using + mbedtls_asn1_write_bitstring(). + * Fix issue when writing the named bitstrings in KeyUsage and NsCertType + extensions in CSRs and CRTs that caused these bitstrings to not be encoded + correctly as trailing zeroes were not accounted for as unused bits in the + leading content octet. Fixes #1610. Changes * Include configuration file in all header files that use configuration,