From b5eb21a0a399010a3cb69071122d76e7c1fa0a7f 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 9b1230e20..7532fc43f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -24,6 +24,12 @@ Bugfix * Remove the mbedtls namespacing from the header file, to fix a "file not found" build error. Fixed by Haijun Gu #2319. * Fix returning the value 1 when mbedtls_ecdsa_genkey failed. + * 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,