summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Alexey Yakovenko <wakeroid@gmail.com>2010-05-13 08:20:11 +0200
committerGravatar Alexey Yakovenko <wakeroid@gmail.com>2010-05-13 08:20:11 +0200
commit18e98bcd7c62a4b7f2e138a3aa9471b2f2ef34f0 (patch)
treee79d31d338a8e0053985e9a0422663b35b9d378e
parent712683998c59bdab7a72ec6acd0b7eb936d79878 (diff)
fixed md5_t buffer size
-rw-r--r--deadbeef.h2
-rw-r--r--md5/md5.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/deadbeef.h b/deadbeef.h
index 23e05961..27eaf838 100644
--- a/deadbeef.h
+++ b/deadbeef.h
@@ -274,7 +274,7 @@ typedef struct {
// md5 calc control structure (see md5/md5.h)
typedef struct DB_md5_s {
- char data[70];
+ char data[88];
} DB_md5_t;
// forward decl for plugin struct
diff --git a/md5/md5.h b/md5/md5.h
index 698c995d..60a40934 100644
--- a/md5/md5.h
+++ b/md5/md5.h
@@ -61,7 +61,7 @@
*/
typedef unsigned char md5_byte_t; /* 8-bit byte */
-typedef unsigned int md5_word_t; /* 32-bit word */
+typedef uint32_t md5_word_t; /* 32-bit word */
/* Define the state of the MD5 Algorithm. */
typedef struct md5_state_s {