diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-05-15 00:48:00 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-05-15 00:48:00 +0000 |
commit | 71e2b5ec5ab6f2d9f94e9deca292dfe68325b83a (patch) | |
tree | 2a7f785c1c18e8c238802cd2c46f7c4b0697b891 | |
parent | add a bad constants test (diff) | |
download | portage-utils-71e2b5ec5ab6f2d9f94e9deca292dfe68325b83a.tar.gz portage-utils-71e2b5ec5ab6f2d9f94e9deca292dfe68325b83a.tar.bz2 portage-utils-71e2b5ec5ab6f2d9f94e9deca292dfe68325b83a.zip |
add a size constant for md5
-rw-r--r-- | libq/hash_fd.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libq/hash_fd.c b/libq/hash_fd.c index 07f305c9..176d3af6 100644 --- a/libq/hash_fd.c +++ b/libq/hash_fd.c @@ -269,6 +269,8 @@ static void sha1_end(unsigned char hval[], struct sha1_ctx_t *ctx) * 3 (smallest) 5.1 4912 */ +# define MD5_DIGEST_SIZE 16 + # define MD5SUM_SIZE_VS_SPEED 2 /* Handle endian-ness */ |