Skip to content
This repository was archived by the owner on May 4, 2021. It is now read-only.

Always false check #53

Open
schmidtw opened this issue Apr 25, 2021 · 0 comments
Open

Always false check #53

schmidtw opened this issue Apr 25, 2021 · 0 comments

Comments

@schmidtw
Copy link

I am using the sha1 code in my project & LGTM found that the length == 0 check can't be true ever due to the !length check and return a few lines above.

if (context->Computed || (length >= 8) || (length == 0))

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

1 participant