vincenthz / hs-cryptohash

efficient and practical cryptohashing in haskell. DEPRECATED in favor of cryptonite
Other
30 stars 24 forks source link

Test suite doesn't compile #17

Closed peti closed 11 years ago

peti commented 11 years ago

The relevant part from http://hydra.cryp.to/build/17938/nixlog/2/raw is:

Tests/KAT.hs:272:65:
    Couldn't match expected type `ByteString -> a1'
                with actual type `HMAC a2'
    The function `hmac' is applied to three arguments,
    but its type `ByteString -> ByteString -> HMAC a2' has only two
    In the first argument of `toBytes', namely
      `(hmac hashAlg (macKey macVector) (macSecret macVector))'
    In the second argument of `(@=?)', namely
      `toBytes (hmac hashAlg (macKey macVector) (macSecret macVector))'
vincenthz commented 11 years ago

Thanks