diff options
author | Joey Hess <joeyh@joeyh.name> | 2017-03-22 09:43:46 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2017-03-22 09:43:46 -0400 |
commit | 93ca7719e1889e16cfe6704f2d69a1b0bdc1272e (patch) | |
tree | 0bb782424e864801261d7622b81f55ae62fb8bb4 /HTTP | |
parent | 6c289708280f721338a3f334196cf92f99ea2d14 (diff) | |
download | keysafe-93ca7719e1889e16cfe6704f2d69a1b0bdc1272e.tar.gz |
fix indent
Diffstat (limited to 'HTTP')
-rw-r--r-- | HTTP/ProofOfWork.hs | 2 |
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 = |