Bugfix: Fix fsck to not think all SHAnE keys are bad.

This commit is contained in:
Joey Hess 2011-06-10 11:43:28 -04:00
parent 90dd245522
commit 9a272815dd
2 changed files with 2 additions and 1 deletions

View file

@ -119,7 +119,7 @@ checkKeyChecksum size key = do
then return True
else do
s <- shaN size file
if s == keyName key
if s == dropExtension (keyName key)
then return True
else do
dest <- moveBad key