mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-02 04:04:39 +02:00
Use zero, not Espressif macro for return code
This commit is contained in:
@@ -1002,7 +1002,7 @@ static WC_INLINE int Sha512Update(wc_Sha512* sha512, const byte* data, word32 le
|
|||||||
ret = esp_sha512_process(sha512);
|
ret = esp_sha512_process(sha512);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
if (ret == ESP_OK)
|
if (ret == 0)
|
||||||
sha512->buffLen = 0;
|
sha512->buffLen = 0;
|
||||||
else
|
else
|
||||||
len = 0;
|
len = 0;
|
||||||
|
Reference in New Issue
Block a user