New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
compile issue if MBEDTLS_CERTS_C is not set in 2.28.1 #6243
Labels
Comments
hauke
added a commit
to hauke/openwrt
that referenced
this issue
Aug 27, 2022
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: Mbed-TLS/mbedtls#6243 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
jow-
pushed a commit
to lede-project/source
that referenced
this issue
Aug 28, 2022
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: Mbed-TLS/mbedtls#6243 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
jow-
pushed a commit
to openwrt/openwrt
that referenced
this issue
Aug 28, 2022
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: Mbed-TLS/mbedtls#6243 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> (cherry picked from commit f387054)
minosgalanakis
added
bug
help-wanted
This issue is not being actively worked on, but PRs welcome.
component-platform
Portability layer and build scripts
good-first-issue
Good for newcomers
size-s
Estimated task size: small (~2d)
labels
Aug 30, 2022
Vladdrako
pushed a commit
to Vladdrako/openwrt
that referenced
this issue
Sep 1, 2022
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: Mbed-TLS/mbedtls#6243 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
devendranaga
pushed a commit
to devendra-naga-labs/bsp_build
that referenced
this issue
Sep 8, 2022
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: Mbed-TLS/mbedtls#6243 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
gilles-peskine-arm
added a commit
to gilles-peskine-arm/mbedtls
that referenced
this issue
Feb 1, 2023
This broke the build when MBEDTLS_CERTS_C is undefined. Fixes Mbed-TLS#6243. Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
3 tasks
gilles-peskine-arm
removed
help-wanted
This issue is not being actively worked on, but PRs welcome.
good-first-issue
Good for newcomers
labels
Feb 1, 2023
Apologies for not fixing this in 2.28.2. We hadn't classified this as a regression, but looking closer we should have. The fix should be in 2.28.3. Note that your patch is only correct when |
The fix in #7013 has been merged. |
hauke
added a commit
to hauke/openwrt
that referenced
this issue
Apr 10, 2023
This only fixes minor problems. Changelog: https://github.com/Mbed-TLS/mbedtls/releases/tag/v2.28.3 The 100-fix-compile.patch patch was merged upstream, see: Mbed-TLS/mbedtls#6243 Mbed-TLS/mbedtls#7013 The code style of all files in mbedtls 2.28.3 was changed. I took a new version of the 100-x509-crt-verify-SAN-iPAddress.patch patch from this pull request: Mbed-TLS/mbedtls#6475 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
pull bot
pushed a commit
to mingxiaoyu/immortalwrt
that referenced
this issue
Apr 12, 2023
This only fixes minor problems. Changelog: https://github.com/Mbed-TLS/mbedtls/releases/tag/v2.28.3 The 100-fix-compile.patch patch was merged upstream, see: Mbed-TLS/mbedtls#6243 Mbed-TLS/mbedtls#7013 The code style of all files in mbedtls 2.28.3 was changed. I took a new version of the 100-x509-crt-verify-SAN-iPAddress.patch patch from this pull request: Mbed-TLS/mbedtls#6475 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Vladdrako
pushed a commit
to Vladdrako/openwrt
that referenced
this issue
Apr 12, 2023
This only fixes minor problems. Changelog: https://github.com/Mbed-TLS/mbedtls/releases/tag/v2.28.3 The 100-fix-compile.patch patch was merged upstream, see: Mbed-TLS/mbedtls#6243 Mbed-TLS/mbedtls#7013 The code style of all files in mbedtls 2.28.3 was changed. I took a new version of the 100-x509-crt-verify-SAN-iPAddress.patch patch from this pull request: Mbed-TLS/mbedtls#6475 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
hauke
added a commit
to hauke/openwrt
that referenced
this issue
Aug 11, 2023
This only fixes minor problems. Changelog: https://github.com/Mbed-TLS/mbedtls/releases/tag/v2.28.3 The 100-fix-compile.patch patch was merged upstream, see: Mbed-TLS/mbedtls#6243 Mbed-TLS/mbedtls#7013 The code style of all files in mbedtls 2.28.3 was changed. I took a new version of the 100-x509-crt-verify-SAN-iPAddress.patch patch from this pull request: Mbed-TLS/mbedtls#6475 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> (cherry picked from commit d679b15)
hauke
added a commit
to hauke/openwrt
that referenced
this issue
Aug 12, 2023
This only fixes minor problems. Changelog: https://github.com/Mbed-TLS/mbedtls/releases/tag/v2.28.3 The 100-fix-compile.patch patch was merged upstream, see: Mbed-TLS/mbedtls#6243 Mbed-TLS/mbedtls#7013 The code style of all files in mbedtls 2.28.3 was changed. I took a new version of the 100-x509-crt-verify-SAN-iPAddress.patch patch from this pull request: Mbed-TLS/mbedtls#6475 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> (cherry picked from commit d679b15)
edofullin
pushed a commit
to edofullin/openwrt_mapt_mods
that referenced
this issue
Sep 10, 2023
This only fixes minor problems. Changelog: https://github.com/Mbed-TLS/mbedtls/releases/tag/v2.28.3 The 100-fix-compile.patch patch was merged upstream, see: Mbed-TLS/mbedtls#6243 Mbed-TLS/mbedtls#7013 The code style of all files in mbedtls 2.28.3 was changed. I took a new version of the 100-x509-crt-verify-SAN-iPAddress.patch patch from this pull request: Mbed-TLS/mbedtls#6475 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> (cherry picked from commit d679b15)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Summary
I am getting the following compile problem when compiling mbedtls 2.28.1 in OpenWrt master:
OpenWrt builds for Linux and uses the following patch to adjust the default configuration:
https://github.com/openwrt/openwrt/blob/master/package/libs/mbedtls/patches/200-config.patch
I bisected it to this commit: 331c342
System information
Mbed TLS version: 2.28.1
Operating system and version: OpenWrt master (GCC 11.3, Linux 5.10, musl libc)
Configuration (if not default, please attach
mbedtls_config.h
): Default config + these changes: https://github.com/openwrt/openwrt/blob/master/package/libs/mbedtls/patches/200-config.patchCompiler and options (if you used a pre-built binary, please indicate how you obtained it): (GCC 11.3, Linux 5.10, musl libc)
Additional environment information:
Expected behavior
It should compile.
Actual behavior
It does not compile.
Steps to reproduce
Compile mbedtls 2.28.1 with this patch: https://github.com/openwrt/openwrt/blob/master/package/libs/mbedtls/patches/200-config.patch
Additional information
mbedtls 2.28.0 compiles fine.
The following patch fixed it for me:
I haven't signed the CLA.
The text was updated successfully, but these errors were encountered: