aboutsummaryrefslogtreecommitdiffstats
path: root/package/libs/mbedtls/patches/100-fix-compile.patch
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2022-08-27 23:11:30 +0200
committerHauke Mehrtens <hauke@hauke-m.de>2022-08-28 12:46:44 +0200
commit251336639c7c6d5e9ab5d0e4491089c08749ce3c (patch)
tree4d5fafcc979b2fabaf788e544098d3c095e30801 /package/libs/mbedtls/patches/100-fix-compile.patch
parentdddf01c5085006785afb954c2cf1f40e7e13a231 (diff)
downloadupstream-251336639c7c6d5e9ab5d0e4491089c08749ce3c.tar.gz
upstream-251336639c7c6d5e9ab5d0e4491089c08749ce3c.tar.bz2
upstream-251336639c7c6d5e9ab5d0e4491089c08749ce3c.zip
mbedtls: update to version 2.28.1
Changelog: https://github.com/Mbed-TLS/mbedtls/releases/tag/v2.28.1 This release of Mbed TLS provides bug fixes and minor enhancements. This release includes fixes for security issues. The build problem was reported upstream: https://github.com/Mbed-TLS/mbedtls/issues/6243 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> (cherry picked from commit f3870546a544c39c6fde2e7e014394aa085d8057)
Diffstat (limited to 'package/libs/mbedtls/patches/100-fix-compile.patch')
-rw-r--r--package/libs/mbedtls/patches/100-fix-compile.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/package/libs/mbedtls/patches/100-fix-compile.patch b/package/libs/mbedtls/patches/100-fix-compile.patch
new file mode 100644
index 0000000000..c3b26ac9c9
--- /dev/null
+++ b/package/libs/mbedtls/patches/100-fix-compile.patch
@@ -0,0 +1,22 @@
+Fix a compile problem introduced in commit 331c3421d1f0 ("Address review comments")
+
+Bug report: https://github.com/Mbed-TLS/mbedtls/issues/6243
+
+--- a/programs/ssl/ssl_server2.c
++++ b/programs/ssl/ssl_server2.c
+@@ -2511,7 +2511,6 @@ int main( int argc, char *argv[] )
+ }
+ key_cert_init2 = 2;
+ #endif /* MBEDTLS_ECDSA_C */
+- }
+
+ #if defined(MBEDTLS_USE_PSA_CRYPTO)
+ if( opt.key_opaque != 0 )
+@@ -2540,6 +2539,7 @@ int main( int argc, char *argv[] )
+ }
+ #endif /* MBEDTLS_USE_PSA_CRYPTO */
+ #endif /* MBEDTLS_CERTS_C */
++ }
+
+ mbedtls_printf( " ok (key types: %s - %s)\n", mbedtls_pk_get_name( &pkey ), mbedtls_pk_get_name( &pkey2 ) );
+ #endif /* MBEDTLS_X509_CRT_PARSE_C */