yubico-c-client icon indicating copy to clipboard operation
yubico-c-client copied to clipboard

Always false check

Open schmidtw opened this issue 3 years ago • 0 comments

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.

https://github.com/Yubico/yubico-c-client/blob/0107b6e36115c5872ec4a012da2a673cad77dbd4/sha1.c#L196

schmidtw avatar Apr 25 '21 02:04 schmidtw