mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-29 11:44:30 +01:00
Fix definition of MBEDTLS_SHA256_VALIDATE[_RET] in sha256.c
This commit is contained in:
parent
36beb04fd5
commit
230b4f4159
@ -75,8 +75,8 @@ do { \
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define MBEDTLS_SHA256_VALIDATE_RET(cond) \
|
#define MBEDTLS_SHA256_VALIDATE_RET(cond) \
|
||||||
MBEDTLS_VALIDATE_RET( MBEDTLS_ERR_SHA256_BAD_INPUT_DATA, cond )
|
MBEDTLS_INTERNAL_VALIDATE_RET( cond, MBEDTLS_ERR_SHA256_BAD_INPUT_DATA )
|
||||||
#define MBEDTLS_SHA256_VALIDATE(cond) MBEDTLS_VALIDATE( cond )
|
#define MBEDTLS_SHA256_VALIDATE(cond) MBEDTLS_INTERNAL_VALIDATE( cond )
|
||||||
|
|
||||||
void mbedtls_sha256_init( mbedtls_sha256_context *ctx )
|
void mbedtls_sha256_init( mbedtls_sha256_context *ctx )
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user