mbedtls: Update to upstream version 2.28.3 #76200
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Rediff patch from PR 1453, lstrlenW is no longer used upstream so that part of the patch was dropped:
Mbed-TLS/mbedtls#1453 (comment)
I'll try to assess if we can drop the whole patch with a test UWP build on 3.x.
Edit: the
CryptGenRandom
part is still needed, without it linking fails with:Bugfix release: https://github.com/Mbed-TLS/mbedtls/releases/tag/v2.28.3
There's one security relevant bugfix for MSVC builds specifically.
The diff is noisy as they changed their code style.
Edit: I've confirmed that the
3.x
branch builds UWP fine with this PR backported.