mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-03-24 21:21:10 +01:00
We had this check in the non-PSA case, but it was missing in the PSA
case.
Backport of 141be6cc7f with just the
error code change to adapt to 2.28.
Signed-off-by: Manuel Pégourié-Gonnard <manuel.pegourie-gonnard@arm.com>