summaryrefslogtreecommitdiff
path: root/src/deh_mapping.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/deh_mapping.c')
-rw-r--r--src/deh_mapping.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/deh_mapping.c b/src/deh_mapping.c
index c1466031..d73cda96 100644
--- a/src/deh_mapping.c
+++ b/src/deh_mapping.c
@@ -89,8 +89,8 @@ boolean DEH_SetMapping(deh_context_t *context, deh_mapping_t *mapping,
return false;
}
-void DEH_StructMD5Sum(md5_context_t *context, deh_mapping_t *mapping,
- void *structptr)
+void DEH_StructSHA1Sum(sha1_context_t *context, deh_mapping_t *mapping,
+ void *structptr)
{
int i;
@@ -115,13 +115,13 @@ void DEH_StructMD5Sum(md5_context_t *context, deh_mapping_t *mapping,
switch (entry->size)
{
case 1:
- MD5_UpdateInt32(context, *((uint8_t *) location));
+ SHA1_UpdateInt32(context, *((uint8_t *) location));
break;
case 2:
- MD5_UpdateInt32(context, *((uint16_t *) location));
+ SHA1_UpdateInt32(context, *((uint16_t *) location));
break;
case 4:
- MD5_UpdateInt32(context, *((uint32_t *) location));
+ SHA1_UpdateInt32(context, *((uint32_t *) location));
break;
default:
I_Error("Unknown dehacked mapping field type for '%s' (BUG)",