yubico-c-client
yubico-c-client copied to clipboard
Always false check
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