diff options
Diffstat (limited to 'compiler')
-rw-r--r-- | compiler/utils/Fingerprint.hs (renamed from compiler/utils/Fingerprint.hsc) | 3 | ||||
-rw-r--r-- | compiler/utils/md5.h | 18 |
2 files changed, 1 insertions, 20 deletions
diff --git a/compiler/utils/Fingerprint.hsc b/compiler/utils/Fingerprint.hs index 377a378bb9..0d4499079f 100644 --- a/compiler/utils/Fingerprint.hsc +++ b/compiler/utils/Fingerprint.hs @@ -21,8 +21,7 @@ module Fingerprint ( getFileHash ) where -#include "md5.h" -##include "HsVersions.h" +#include "HsVersions.h" import GhcPrelude diff --git a/compiler/utils/md5.h b/compiler/utils/md5.h deleted file mode 100644 index 0b31f9019c..0000000000 --- a/compiler/utils/md5.h +++ /dev/null @@ -1,18 +0,0 @@ -/* MD5 message digest */ -#pragma once - -#include "HsFFI.h" - -typedef HsWord32 word32; -typedef HsWord8 byte; - -struct MD5Context { - word32 buf[4]; - word32 bytes[2]; - word32 in[16]; -}; - -void MD5Init(struct MD5Context *context); -void MD5Update(struct MD5Context *context, byte const *buf, int len); -void MD5Final(byte digest[16], struct MD5Context *context); -void MD5Transform(word32 buf[4], word32 const in[16]); |