Bugfix: Fix fsck in SHA*E backends, when the key contains composite extensions, as added in 3.20120721.

This commit is contained in:
Joey Hess 2012-08-24 12:16:17 -04:00
parent cea55b70fc
commit 1f83dafc7e
2 changed files with 3 additions and 1 deletions

View file

@ -127,5 +127,5 @@ checkKeyChecksum size key file = do
_ -> return True
where
check s
| s == dropExtension (keyName key) = True
| s == dropExtensions (keyName key) = True
| otherwise = False