Use zero, not Espressif macro for return code

This commit is contained in:
gojimmypi
2024-05-15 08:06:06 -07:00
parent 1024d7a809
commit b25a4f1082

View File

@@ -1002,7 +1002,7 @@ static WC_INLINE int Sha512Update(wc_Sha512* sha512, const byte* data, word32 le
ret = esp_sha512_process(sha512);
}
#endif
if (ret == ESP_OK)
if (ret == 0)
sha512->buffLen = 0;
else
len = 0;