summaryrefslogtreecommitdiff
path: root/Backend
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-05-31 23:15:40 -0400
committerGravatar Joey Hess <joey@kitenet.net>2012-05-31 23:15:40 -0400
commit2183fd2abd95b6deaa9baef47e2f9c5f865123e1 (patch)
treead1ed21da1ba472bfe441401291932bd1ba378eb /Backend
parentf5de183c7168627e9bd969aa48f8215f411bc507 (diff)
Require that the SHA256 backend can be used when building, since it's the default.
Diffstat (limited to 'Backend')
-rw-r--r--Backend/SHA.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Backend/SHA.hs b/Backend/SHA.hs
index 3adac65d8..c2a6cf976 100644
--- a/Backend/SHA.hs
+++ b/Backend/SHA.hs
@@ -45,7 +45,7 @@ genBackendE size =
shaCommand :: SHASize -> Maybe String
shaCommand 1 = SysConfig.sha1
-shaCommand 256 = SysConfig.sha256
+shaCommand 256 = Just SysConfig.sha256
shaCommand 224 = SysConfig.sha224
shaCommand 384 = SysConfig.sha384
shaCommand 512 = SysConfig.sha512