diff options
Diffstat (limited to 'src/deh_defs.h')
-rw-r--r-- | src/deh_defs.h | 8 |
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 */ |