Skip to content

Commit b25a4f1

Browse files
author
gojimmypi
committed
Use zero, not Espressif macro for return code
1 parent 1024d7a commit b25a4f1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

wolfcrypt/src/sha512.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1002,7 +1002,7 @@ static WC_INLINE int Sha512Update(wc_Sha512* sha512, const byte* data, word32 le
10021002
ret = esp_sha512_process(sha512);
10031003
}
10041004
#endif
1005-
if (ret == ESP_OK)
1005+
if (ret == 0)
10061006
sha512->buffLen = 0;
10071007
else
10081008
len = 0;

0 commit comments

Comments
 (0)