mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-08-07 06:42:56 +03:00
Fix wrong return statement
Signed-off-by: Manuel Pégourié-Gonnard <manuel.pegourie-gonnard@arm.com>
This commit is contained in:
@@ -6623,8 +6623,8 @@ exit:
|
|||||||
|
|
||||||
exit:
|
exit:
|
||||||
mbedtls_sha256_free(&sha256);
|
mbedtls_sha256_free(&sha256);
|
||||||
|
return ret;
|
||||||
#endif /* MBEDTLS_USE_PSA_CRYPTO */
|
#endif /* MBEDTLS_USE_PSA_CRYPTO */
|
||||||
return 0;
|
|
||||||
}
|
}
|
||||||
#endif /* MBEDTLS_HAS_ALG_SHA_256_VIA_MD_OR_PSA_BASED_ON_USE_PSA */
|
#endif /* MBEDTLS_HAS_ALG_SHA_256_VIA_MD_OR_PSA_BASED_ON_USE_PSA */
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user