Merge pull request #9313 from sezrab/psa_util_in_builds_without_psa-development

psa_util.c included in builds without PSA, which can break the build
This commit is contained in:
Manuel Pégourié-Gonnard 2024-08-14 07:16:21 +00:00 committed by GitHub
commit 8067879c1f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -0,0 +1,5 @@
Bugfix
* When MBEDTLS_PSA_CRYPTO_C was disabled and MBEDTLS_ECDSA_C enabled,
some code was defining 0-size arrays, resulting in compilation errors.
Fixed by disabling the offending code in configurations without PSA
Crypto, where it never worked. Fixes #9311.