mbedtls: update mbedtls to version 2.7.3
authorHauke Mehrtens <hauke@hauke-m.de>
Sat, 2 Jun 2018 10:07:35 +0000 (12:07 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Tue, 5 Jun 2018 16:48:26 +0000 (18:48 +0200)
This fixes some minor security problems and other bugs.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
package/libs/mbedtls/Makefile
package/libs/mbedtls/patches/300-soversion-compatibility.patch

index caa2405ce99ea053e740973eb191f53cf49cf96f..80ec17b4e2dd91fc3d98f2c79546c1bc5972e437 100644 (file)
@@ -8,13 +8,13 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=mbedtls
-PKG_VERSION:=2.7.2
-PKG_RELEASE:=2
+PKG_VERSION:=2.7.3
+PKG_RELEASE:=1
 PKG_USE_MIPS16:=0
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-gpl.tgz
 PKG_SOURCE_URL:=https://tls.mbed.org/download/
-PKG_HASH:=638a21d6a148bdb55d86e6de313d3e6aef1326a0f9d541aa6ac31617f2f96d91
+PKG_HASH:=f1cd52824d1d5b4205c4255501764c5a02a77f029193683b3063bef584e97947
 
 PKG_BUILD_PARALLEL:=1
 PKG_LICENSE:=GPL-2.0+
index 4d33be2686c4fea4629b6b866883a6e20a955ffc..320482c7cde36b2b141d7140e1c4df5a53dfafe8 100644 (file)
@@ -8,8 +8,8 @@ the new library with binaries compiled against the old library.
  
  if(USE_SHARED_MBEDTLS_LIBRARY)
      add_library(mbedcrypto SHARED ${src_crypto})
--    set_target_properties(mbedcrypto PROPERTIES VERSION 2.7.2 SOVERSION 2)
-+    set_target_properties(mbedcrypto PROPERTIES VERSION 2.7.2 SOVERSION 0)
+-    set_target_properties(mbedcrypto PROPERTIES VERSION 2.7.3 SOVERSION 2)
++    set_target_properties(mbedcrypto PROPERTIES VERSION 2.7.3 SOVERSION 0)
      target_link_libraries(mbedcrypto ${libs})
  
      add_library(mbedx509 SHARED ${src_x509})
@@ -22,5 +22,5 @@ the new library with binaries compiled against the old library.
 -SOEXT_CRYPTO=so.2
 +SOEXT_CRYPTO=so.0
  
- DLEXT=so
- # OSX shared library extension:
+ # Set DLEXT=dylib to compile as a shared library for Mac OS X
+ DLEXT ?= so