diff options
author | Guy Harris <guy@alum.mit.edu> | 2007-04-23 21:12:04 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2007-04-23 21:12:04 +0000 |
commit | 5a4771d9cbd279255bd876e11c10ccf49ea7999e (patch) | |
tree | 1ae4b47bbe9cdfd2765169ada6d29e330171b5cc /epan/crypt | |
parent | 0acc6bc5b8d0d1973b33adf17e14d3a8ccf2809d (diff) |
The "in" array in an MD5 context is expected to be aligned on a 4-byte
boundary; make it an array of 16 guint32's rather than 64 guint8's, to
ensure that, and add now-necessary casts and remove now-unnecessary
casts.
(Missed on the previous checkin.)
svn path=/trunk/; revision=21541
Diffstat (limited to 'epan/crypt')
-rw-r--r-- | epan/crypt/crypt-md5.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/crypt/crypt-md5.h b/epan/crypt/crypt-md5.h index 857e5b37db..c585007beb 100644 --- a/epan/crypt/crypt-md5.h +++ b/epan/crypt/crypt-md5.h @@ -39,7 +39,7 @@ typedef struct md5_state_s { guint32 buf[4]; guint32 bits[2]; - guint8 in[64]; + guint32 in[16]; } md5_state_t; /** Initialize the algorithm. |