Commit e0899364 authored by Niels Möller's avatar Niels Möller

(MD5Final): Call only md5_digest.

Rev: src/nettle/md5-compat.c:1.2
parent 24a20bcc
......@@ -40,7 +40,5 @@ MD5Update(MD5_CTX *ctx, const unsigned char *data, unsigned int length)
void
MD5Final(unsigned char *out, MD5_CTX *ctx)
{
md5_final(ctx);
md5_digest(ctx, MD5_DIGEST_SIZE, out);
md5_init(ctx);
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment