Don't check for SHA-1 windows compatibility if our hash is of correct length

Signed-off-by: Shitiz Garg <mail@dragooon.net>
Merge pull request #1709 from Dragooon/release-2.1

Don't check for SHA-1 windows compatibility if our hash is of correct length