Closed Zalamar closed 1 year ago
I reviewed the change. , and don't see any reason why the original code should have caused a problem. (More to the point, the changes you made shouldn't change anything after compilation). What compiler are you using, and what was its error message?
On a broader check, this is all new code, and couldn't have ever possibly compiled. It's not all that clear what use case this code is intending to support, but it clearly hasn't been internally compiled or tested.
I added a PR that addresses all of the bugs that I saw in the sha256_file()
function, including the one fixed in this PR.
@celic If you merge PR #204, you don't need to merge this PR. Duplicate of #204
Not merged as the fixes were incorporated/superseded by #204
@andrewmccaffreynist I think that this PR can be closed.
Thanks!
Mix between using FileLength and FileLen breaking the compilation, just changed all to FileLen.