Skip to content

[mbedtls] Support mbedtls 3.x and fix bugs and compiler warnings.#11646

Merged
Simn merged 7 commits into
HaxeFoundation:developmentfrom
Apprentice-Alchemist:bugfix/eval-ssl
Apr 26, 2024
Merged

[mbedtls] Support mbedtls 3.x and fix bugs and compiler warnings.#11646
Simn merged 7 commits into
HaxeFoundation:developmentfrom
Apprentice-Alchemist:bugfix/eval-ssl

Conversation

@Apprentice-Alchemist

Copy link
Copy Markdown
Contributor

closes #11195 and fixes the segfaults/EBADF issue (#11638)

The segfault/EBADF fix currently results in a small memory leak, but I am unsure how to avoid this.

@Simn
Simn merged commit c325889 into HaxeFoundation:development Apr 26, 2024
@Simn

Simn commented Apr 26, 2024

Copy link
Copy Markdown
Member

Thank you so much!

@Apprentice-Alchemist
Apprentice-Alchemist deleted the bugfix/eval-ssl branch April 26, 2024 14:21
kLabz pushed a commit that referenced this pull request Feb 8, 2025
…1646)

* [mbedtls] Store bio functions in a GC root.

* [mbedtls] Fix incorrect alt name check.

* [mbedtls] Replace String_val with Bytes_val to prevent compiler warnings.

* [mbedtls] use SecTrustCopyAnchorCertificates to get root certs on macOS.

SecKeychainOpen is deprecated.

* [mbedtls] Remove unused includes and use angled brackets.

* [mbedtls] Fix more warnings.

* [mbedtls] Support mbedtls 3.x.
kLabz pushed a commit that referenced this pull request Mar 6, 2025
…1646)

* [mbedtls] Store bio functions in a GC root.

* [mbedtls] Fix incorrect alt name check.

* [mbedtls] Replace String_val with Bytes_val to prevent compiler warnings.

* [mbedtls] use SecTrustCopyAnchorCertificates to get root certs on macOS.

SecKeychainOpen is deprecated.

* [mbedtls] Remove unused includes and use angled brackets.

* [mbedtls] Fix more warnings.

* [mbedtls] Support mbedtls 3.x.
kLabz pushed a commit that referenced this pull request Mar 7, 2025
…1646)

* [mbedtls] Store bio functions in a GC root.

* [mbedtls] Fix incorrect alt name check.

* [mbedtls] Replace String_val with Bytes_val to prevent compiler warnings.

* [mbedtls] use SecTrustCopyAnchorCertificates to get root certs on macOS.

SecKeychainOpen is deprecated.

* [mbedtls] Remove unused includes and use angled brackets.

* [mbedtls] Fix more warnings.

* [mbedtls] Support mbedtls 3.x.
bob-beck pushed a commit to openbsd/ports that referenced this pull request Feb 18, 2026
…mbedtls

Adapt bctoolbox to stop (ab)using the MBEDTLS_THREADING_ALT, supposedly
incompatible with MBEDTLS_THREADING_C which ought to be sufficient.
Adapt haxe to avoid using removed interfaces, partly inspired by
HaxeFoundation/haxe#11646
ok sthen, no objection from landry@ (bctoolbox) and thfr@ (haxe)

Issues fixed by this switch:

https://github.com/Mbed-TLS/mbedtls-docs/blob/main/security-advisories/mbedtls-security-advisory-2024-03.md

https://mbed-tls.readthedocs.io/en/latest/security-advisories/mbedtls-security-advisory-2024-08-1/
https://mbed-tls.readthedocs.io/en/latest/security-advisories/mbedtls-security-advisory-2024-08-2/
https://mbed-tls.readthedocs.io/en/latest/security-advisories/mbedtls-security-advisory-2024-08-3/

https://mbed-tls.readthedocs.io/en/latest/security-advisories/mbedtls-security-advisory-2024-10-1/

https://mbed-tls.readthedocs.io/en/latest/security-advisories/mbedtls-security-advisory-2025-03-2/
https://mbed-tls.readthedocs.io/en/latest/security-advisories/mbedtls-security-advisory-2025-03-1/

https://mbed-tls.readthedocs.io/en/latest/security-advisories/mbedtls-security-advisory-2025-06-1/
https://mbed-tls.readthedocs.io/en/latest/security-advisories/mbedtls-security-advisory-2025-06-2/
https://mbed-tls.readthedocs.io/en/latest/security-advisories/mbedtls-security-advisory-2025-06-3/
https://mbed-tls.readthedocs.io/en/latest/security-advisories/mbedtls-security-advisory-2025-06-4/
https://mbed-tls.readthedocs.io/en/latest/security-advisories/mbedtls-security-advisory-2025-06-5/
https://mbed-tls.readthedocs.io/en/latest/security-advisories/mbedtls-security-advisory-2025-06-6/
https://mbed-tls.readthedocs.io/en/latest/security-advisories/mbedtls-security-advisory-2025-06-7/

https://mbed-tls.readthedocs.io/en/latest/security-advisories/mbedtls-security-advisory-2025-10-invalid-padding-error/
https://mbed-tls.readthedocs.io/en/latest/security-advisories/mbedtls-security-advisory-2025-10-ssbleed-mstep/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

mbedtls 3.x support

2 participants