Skip to content
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

boot: Fix ASN.1 for mbedtls >= 3.1 #1989

Merged
merged 1 commit into from
Jun 28, 2024
Merged

Conversation

d3zd3z
Copy link
Member

@d3zd3z d3zd3z commented Jun 27, 2024

In Mbed TLS 3.1, the private fields in the ASN.1 structure were made private. This breaks code that accesses these private macros.

Fix this by changing the ASN.1 specific code to use a new field accessor ASN1_CONTEXT_MEMBER that will be conditionally defined based on the version of Mbed TLS that is present.

In Mbed TLS 3.1, the private fields in the ASN.1 structure were made private.
This breaks code that accesses these private macros.

Fix this by changing the ASN.1 specific code to use a new field accessor
`ASN1_CONTEXT_MEMBER` that will be conditionally defined based on the version of
Mbed TLS that is present.

Signed-off-by: David Brown <david.brown@linaro.org>
@d3zd3z d3zd3z merged commit 1d79ef3 into mcu-tools:main Jun 28, 2024
58 checks passed
@d3zd3z d3zd3z deleted the fix-mbedtls-asn branch June 28, 2024 16:06
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.

4 participants