From 18e98bcd7c62a4b7f2e138a3aa9471b2f2ef34f0 Mon Sep 17 00:00:00 2001 From: Alexey Yakovenko Date: Thu, 13 May 2010 08:20:11 +0200 Subject: fixed md5_t buffer size --- deadbeef.h | 2 +- md5/md5.h | 2 +- 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 { -- cgit v1.2.3