Skip to content

Commit d5d01a0

Browse files
committed
Merge remote-tracking branch 'origin/pr/2525' into development
* origin/pr/2525: Update library version to 2.17.0
2 parents a96f4fe + 3f8d784 commit d5d01a0

File tree

6 files changed

+35
-29
lines changed

6 files changed

+35
-29
lines changed

ChangeLog

Lines changed: 23 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,28 @@
11
mbed TLS ChangeLog (Sorted per branch, date)
22

3-
= mbed TLS 2.x.x branch released xxxx-xx-xx
3+
= mbed TLS x.x.x branch released xxxx-xx-xx
4+
5+
Bugfix
6+
* Fix private key DER output in the key_app_writer example. File contents
7+
were shifted by one byte, creating an invalid ASN.1 tag. Fixed by
8+
Christian Walther in #2239.
9+
10+
Changes
11+
* Server's RSA certificate in certs.c was SHA-1 signed. In the default
12+
mbedTLS configuration only SHA-2 signed certificates are accepted.
13+
This certificate is used in the demo server programs, which lead the
14+
client programs to fail at the peer's certificate verification
15+
due to an unacceptable hash signature. The certificate has been
16+
updated to one that is SHA-256 signed. Fix contributed by
17+
Illya Gerasymchuk.
18+
* Return from various debugging routines immediately if the
19+
provided SSL context is unset.
20+
* Remove dead code from bignum.c in the default configuration.
21+
Found by Coverity, reported and fixed by Peter Kolbus (Garmin). Fixes #2309.
22+
* Add test for minimal value of MBEDTLS_MPI_WINDOW_SIZE to all.sh.
23+
Contributed by Peter Kolbus (Garmin).
24+
25+
= mbed TLS 2.17.0 branch released 2019-03-19
426

527
Features
628
* Add a new X.509 API call `mbedtls_x509_parse_der_nocopy()`
@@ -49,9 +71,6 @@ Bugfix
4971
extensions in CSRs and CRTs that caused these bitstrings to not be encoded
5072
correctly as trailing zeroes were not accounted for as unused bits in the
5173
leading content octet. Fixes #1610.
52-
* Fix private key DER output in the key_app_writer example. File contents
53-
were shifted by one byte, creating an invalid ASN.1 tag. Fixed by
54-
Christian Walther in #2239.
5574

5675
Changes
5776
* Reduce RAM consumption during session renegotiation by not storing
@@ -78,19 +97,6 @@ Changes
7897
been disabled for lack of a sufficiently recent version of GnuTLS on the CI.
7998
* Ciphersuites based on 3DES now have the lowest priority by default when
8099
they are enabled.
81-
* Server's RSA certificate in certs.c was SHA-1 signed. In the default
82-
mbedTLS configuration only SHA-2 signed certificates are accepted.
83-
This certificate is used in the demo server programs, which lead the
84-
client programs to fail at the peer's certificate verification
85-
due to an unacceptable hash signature. The certificate has been
86-
updated to one that is SHA-256 signed. Fix contributed by
87-
Illya Gerasymchuk.
88-
* Return from various debugging routines immediately if the
89-
provided SSL context is unset.
90-
* Remove dead code from bignum.c in the default configuration.
91-
Found by Coverity, reported and fixed by Peter Kolbus (Garmin). Fixes #2309.
92-
* Add test for minimal value of MBEDTLS_MPI_WINDOW_SIZE to all.sh.
93-
Contributed by Peter Kolbus (Garmin).
94100

95101
= mbed TLS 2.16.0 branch released 2018-12-21
96102

doxygen/input/doc_mainpage.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
*/
2525

2626
/**
27-
* @mainpage mbed TLS v0.0.0 source code documentation
27+
* @mainpage mbed TLS v2.17.0 source code documentation
2828
*
2929
* This documentation describes the internal structure of mbed TLS. It was
3030
* automatically generated from specially formatted comment blocks in

doxygen/mbedtls.doxyfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ DOXYFILE_ENCODING = UTF-8
2828
# identify the project. Note that if you do not use Doxywizard you need
2929
# to put quotes around the project name if it contains spaces.
3030

31-
PROJECT_NAME = "mbed TLS v0.0.0"
31+
PROJECT_NAME = "mbed TLS v2.17.0"
3232

3333
# The PROJECT_NUMBER tag can be used to enter a project or revision number.
3434
# This could be handy for archiving the generated documentation or

include/mbedtls/version.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,18 +38,18 @@
3838
* The version number x.y.z is split into three parts.
3939
* Major, Minor, Patchlevel
4040
*/
41-
#define MBEDTLS_VERSION_MAJOR 0
42-
#define MBEDTLS_VERSION_MINOR 0
41+
#define MBEDTLS_VERSION_MAJOR 2
42+
#define MBEDTLS_VERSION_MINOR 17
4343
#define MBEDTLS_VERSION_PATCH 0
4444

4545
/**
4646
* The single version number has the following structure:
4747
* MMNNPP00
4848
* Major version | Minor version | Patch version
4949
*/
50-
#define MBEDTLS_VERSION_NUMBER 0x00000000
51-
#define MBEDTLS_VERSION_STRING "0.0.0"
52-
#define MBEDTLS_VERSION_STRING_FULL "mbed TLS 0.0.0"
50+
#define MBEDTLS_VERSION_NUMBER 0x02110000
51+
#define MBEDTLS_VERSION_STRING "2.17.0"
52+
#define MBEDTLS_VERSION_STRING_FULL "mbed TLS 2.17.0"
5353

5454
#if defined(MBEDTLS_VERSION_C)
5555

library/CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -182,20 +182,20 @@ endif(USE_STATIC_MBEDTLS_LIBRARY)
182182
if(USE_SHARED_MBEDTLS_LIBRARY)
183183
if(NOT USE_CRYPTO_SUBMODULE)
184184
add_library(mbedcrypto SHARED ${src_crypto})
185-
set_target_properties(mbedcrypto PROPERTIES VERSION 0.0.0 SOVERSION 3)
185+
set_target_properties(mbedcrypto PROPERTIES VERSION 2.17.0 SOVERSION 3)
186186
target_link_libraries(mbedcrypto ${libs})
187187
target_include_directories(mbedcrypto PUBLIC ${CMAKE_SOURCE_DIR}/include/)
188188
endif()
189189

190190
add_library(mbedx509 SHARED ${src_x509})
191-
set_target_properties(mbedx509 PROPERTIES VERSION 0.0.0 SOVERSION 0)
191+
set_target_properties(mbedx509 PROPERTIES VERSION 2.17.0 SOVERSION 0)
192192
target_link_libraries(mbedx509 ${libs} mbedcrypto)
193193
target_include_directories(mbedx509
194194
PUBLIC ${CMAKE_SOURCE_DIR}/include/
195195
PUBLIC ${CMAKE_SOURCE_DIR}/crypto/include/)
196196

197197
add_library(mbedtls SHARED ${src_tls})
198-
set_target_properties(mbedtls PROPERTIES VERSION 0.0.0 SOVERSION 12)
198+
set_target_properties(mbedtls PROPERTIES VERSION 2.17.0 SOVERSION 12)
199199
target_link_libraries(mbedtls ${libs} mbedx509)
200200
target_include_directories(mbedtls
201201
PUBLIC ${CMAKE_SOURCE_DIR}/include/

tests/suites/test_suite_version.data

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
Check compiletime library version
2-
check_compiletime_version:"0.0.0"
2+
check_compiletime_version:"2.17.0"
33

44
Check runtime library version
5-
check_runtime_version:"0.0.0"
5+
check_runtime_version:"2.17.0"
66

77
Check for MBEDTLS_VERSION_C
88
check_feature:"MBEDTLS_VERSION_C":0

0 commit comments

Comments
 (0)