diff options
author | Marc Hoersken <info@marc-hoersken.de> | 2014-04-18 22:59:25 +0200 |
---|---|---|
committer | Marc Hoersken <info@marc-hoersken.de> | 2014-04-18 22:59:25 +0200 |
commit | 54df616729e8edd514b44bc71fd05314001c468e (patch) | |
tree | be834084f1613f1696b5d51f12d403c3cce42cc5 /lib | |
parent | 6f72c2fe312aa4569bffc2bf7016057c3df40342 (diff) |
md5.c: fix use of uninitialized variable
Diffstat (limited to 'lib')
-rw-r--r-- | lib/md5.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -147,7 +147,7 @@ static void MD5_Update(MD5_CTX *ctx, static void MD5_Final(unsigned char digest[16], MD5_CTX *ctx) { - unsigned long length; + unsigned long length = 0; CryptGetHashParam(ctx->hHash, HP_HASHVAL, NULL, &length, 0); if(length == 16) CryptGetHashParam(ctx->hHash, HP_HASHVAL, digest, &length, 0); |