summaryrefslogtreecommitdiff
path: root/src/deh_defs.h
diff options
context:
space:
mode:
authorSimon Howard2012-10-25 20:40:56 +0000
committerSimon Howard2012-10-25 20:40:56 +0000
commit42567795b30ae8e33a90f0fa956204408b419757 (patch)
tree0292112865efc374a42bdaa47b487ce439a4163a /src/deh_defs.h
parent933839b0a2a95498c8c935339bb79ade11983dd5 (diff)
downloadchocolate-doom-42567795b30ae8e33a90f0fa956204408b419757.tar.gz
chocolate-doom-42567795b30ae8e33a90f0fa956204408b419757.tar.bz2
chocolate-doom-42567795b30ae8e33a90f0fa956204408b419757.zip
Switch from MD5 to SHA-1 for network digests.
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 2530
Diffstat (limited to 'src/deh_defs.h')
-rw-r--r--src/deh_defs.h8
1 files changed, 4 insertions, 4 deletions
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 */