Skip to content

Commit

Permalink
64-bit fix for HMAC
Browse files Browse the repository at this point in the history
darcs-hash:20080311020110-19166-b833293eeb769da7aa62c9afe0b57d15a8a00051.gz
  • Loading branch information
agl committed Mar 11, 2008
1 parent cb3caf1 commit 423ca54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OpenSSL/EVP/Digest.hsc
Expand Up @@ -187,7 +187,7 @@ digestLBS md input
{- HMAC ---------------------------------------------------------------------- -}

foreign import ccall unsafe "HMAC"
_HMAC :: Ptr EVP_MD -> Ptr CChar -> CInt -> Ptr CChar -> CInt
_HMAC :: Ptr EVP_MD -> Ptr CChar -> CInt -> Ptr CChar -> CSize
-> Ptr CChar -> Ptr CUInt -> IO ()

-- | Perform a private key signing using the HMAC template with a given hash
Expand Down

0 comments on commit 423ca54

Please sign in to comment.