From 42567795b30ae8e33a90f0fa956204408b419757 Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Thu, 25 Oct 2012 20:40:56 +0000 Subject: Switch from MD5 to SHA-1 for network digests. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 2530 --- src/deh_defs.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/deh_defs.h') diff --git a/src/deh_defs.h b/src/deh_defs.h index e7b76182..2ab65c5d 100644 --- a/src/deh_defs.h +++ b/src/deh_defs.h @@ -27,7 +27,7 @@ #ifndef DEH_DEFS_H #define DEH_DEFS_H -#include "md5.h" +#include "sha1.h" typedef struct deh_context_s deh_context_t; typedef struct deh_section_s deh_section_t; @@ -35,7 +35,7 @@ typedef void (*deh_section_init_t)(void); typedef void *(*deh_section_start_t)(deh_context_t *context, char *line); typedef void (*deh_section_end_t)(deh_context_t *context, void *tag); typedef void (*deh_line_parser_t)(deh_context_t *context, char *line, void *tag); -typedef void (*deh_md5_hash_t)(md5_context_t *context); +typedef void (*deh_sha1_hash_t)(sha1_context_t *context); struct deh_section_s { @@ -58,9 +58,9 @@ struct deh_section_s deh_section_end_t end; - // Called when generating an MD5 sum of the dehacked state + // Called when generating an SHA1 sum of the dehacked state - deh_md5_hash_t md5_hash; + deh_sha1_hash_t sha1_hash; }; #endif /* #ifndef DEH_DEFS_H */ -- cgit v1.2.3