Added "name" field to digest algorithms

This commit is contained in:
Michael Brown
2006-11-21 16:14:50 +00:00
parent d37f82509f
commit fdaddd969a
2 changed files with 3 additions and 0 deletions

View File

@@ -234,6 +234,7 @@ static void md5_finish(void *context, void *out)
}
struct digest_algorithm md5_algorithm = {
.name = "md5",
.context_len = sizeof ( struct md5_ctx ),
.digest_len = MD5_DIGEST_SIZE,
.init = md5_init,