This fixes some minor security problems and other bugs.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
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+
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})
-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