Skip to content

Commit d588ff7

Browse files
Andres Amaya Garciasimonbutcher
authored andcommitted
Add ChangeLog entry for unused bits in bitstrings
1 parent d8233f7 commit d588ff7

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

ChangeLog

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,12 @@ Bugfix
3131
Fixes #2190.
3232
* Fix false failure in all.sh when backup files exist in include/mbedtls
3333
(e.g. config.h.bak). Fixed by Peter Kolbus (Garmin) #2407.
34+
* Ensure that unused bits are zero when writing ASN.1 bitstrings when using
35+
mbedtls_asn1_write_bitstring().
36+
* Fix issue when writing the named bitstrings in KeyUsage and NsCertType
37+
extensions in CSRs and CRTs that caused these bitstrings to not be encoded
38+
correctly as trailing zeroes were not accounted for as unused bits in the
39+
leading content octet. Fixes #1610.
3440

3541
Changes
3642
* Reduce RAM consumption during session renegotiation by not storing
@@ -65,6 +71,8 @@ Features
6571
function to see for which parameter values it is defined. This feature is
6672
disabled by default. See its API documentation in config.h for additional
6773
steps you have to take when enabling it.
74+
* Add a new function mbedtls_asn1_write_named_bitstring() to write ASN.1
75+
named bitstring in DER as required by RFC 5280 Appendix B.
6876

6977
API Changes
7078
* The following functions in the random generator modules have been

0 commit comments

Comments
 (0)