Skip to content
Commit 1d79ef35 authored by David Brown's avatar David Brown Committed by David Brown
Browse files

boot: Fix ASN.1 for mbedtls >= 3.1



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: default avatarDavid Brown <david.brown@linaro.org>
parent 86acda9e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment