mbedtls: update to 2.25.0
This commit is contained in:
parent
8fc211ca1b
commit
0e123eaa71
@ -3,7 +3,7 @@ TERMUX_PKG_DESCRIPTION="Light-weight cryptographic and SSL/TLS library"
|
||||
TERMUX_PKG_LICENSE="Apache-2.0"
|
||||
TERMUX_PKG_MAINTAINER="@termux"
|
||||
TERMUX_PKG_SRCURL=https://github.com/ARMmbed/mbedtls.git
|
||||
TERMUX_PKG_VERSION=2.24.0
|
||||
TERMUX_PKG_VERSION=2.25.0
|
||||
TERMUX_PKG_GIT_BRANCH=mbedtls-$TERMUX_PKG_VERSION
|
||||
TERMUX_PKG_BREAKS="mbedtls-dev"
|
||||
TERMUX_PKG_REPLACES="mbedtls-dev"
|
||||
|
@ -1,13 +0,0 @@
|
||||
diff --git a/library/net_sockets.c b/library/net_sockets.c
|
||||
index b26e858..8160d9e 100644
|
||||
--- a/library/net_sockets.c
|
||||
+++ b/library/net_sockets.c
|
||||
@@ -324,7 +324,7 @@ int mbedtls_net_accept( mbedtls_net_context *bind_ctx,
|
||||
|
||||
#if defined(__socklen_t_defined) || defined(_SOCKLEN_T) || \
|
||||
defined(_SOCKLEN_T_DECLARED) || defined(__DEFINED_socklen_t) || \
|
||||
- defined(socklen_t)
|
||||
+ defined(socklen_t) || defined(__BIONIC__)
|
||||
socklen_t n = (socklen_t) sizeof( client_addr );
|
||||
socklen_t type_len = (socklen_t) sizeof( type );
|
||||
#else
|
Loading…
Reference in New Issue
Block a user