summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/crypto/md5.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crypto/md5.c b/src/crypto/md5.c
index 606423354..94ab69a29 100644
--- a/src/crypto/md5.c
+++ b/src/crypto/md5.c
@@ -237,7 +237,7 @@ static void md5_final(void *context, void *out)
struct crypto_algorithm md5_algorithm = {
.name = "md5",
.ctxsize = sizeof ( struct md5_ctx ),
- .blocksize = 1,
+ .blocksize = ( MD5_BLOCK_WORDS * 4 ),
.digestsize = MD5_DIGEST_SIZE,
.init = md5_init,
.encode = md5_update,