summaryrefslogtreecommitdiffhomepage
path: root/HTTP
diff options
context:
space:
mode:
authorJoey Hess <joeyh@joeyh.name>2017-03-22 09:43:46 -0400
committerJoey Hess <joeyh@joeyh.name>2017-03-22 09:43:46 -0400
commit93ca7719e1889e16cfe6704f2d69a1b0bdc1272e (patch)
tree0bb782424e864801261d7622b81f55ae62fb8bb4 /HTTP
parent6c289708280f721338a3f334196cf92f99ea2d14 (diff)
downloadkeysafe-93ca7719e1889e16cfe6704f2d69a1b0bdc1272e.tar.gz
fix indent
Diffstat (limited to 'HTTP')
-rw-r--r--HTTP/ProofOfWork.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/HTTP/ProofOfWork.hs b/HTTP/ProofOfWork.hs
index a8d24f7..0237347 100644
--- a/HTTP/ProofOfWork.hs
+++ b/HTTP/ProofOfWork.hs
@@ -109,7 +109,7 @@ mkRequestID secret = mkRequeestID' secret <$> mkRandomSalt
mkRequeestID' :: RequestIDSecret -> RandomSalt -> RequestID
mkRequeestID' (RequestIDSecret key) salt =
let hmac = Raaz.hmacSha256 key (encodeUtf8 $ fromRandomSalt salt)
- in RequestID salt $ T.toByteString (Raaz.encode hmac :: Base16)
+ in RequestID salt $ T.toByteString (Raaz.encode hmac :: Base16)
validRequestID :: RequestIDSecret -> RequestID -> Bool
validRequestID secret rid =