projects
/
ircu2.10.12-pk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d4f707d
)
keep in sync with OGN upstream (SVN-318)
author
pk910
<philipp@zoelle1.de>
Thu, 10 May 2012 20:56:18 +0000
(22:56 +0200)
committer
pk910
<philipp@zoelle1.de>
Thu, 10 May 2012 20:56:18 +0000
(22:56 +0200)
ircd/ircd_md5.c
patch
|
blob
|
history
diff --git
a/ircd/ircd_md5.c
b/ircd/ircd_md5.c
index 3d770ba3e31bb601ca4216e90b146e2b79a29616..d328bb915a1997b6260df0d5dc254113240cd7a0 100644
(file)
--- a/
ircd/ircd_md5.c
+++ b/
ircd/ircd_md5.c
@@
-154,7
+154,7
@@
void MD5Final(unsigned char digest[16], struct MD5Context *ctx)
MD5Transform(ctx->buf, (uint32 *) ctx->in);
byteReverse((unsigned char *) ctx->buf, 4);
memcpy(digest, ctx->buf, 16);
- memset(ctx, 0, sizeof(
ctx));
/* In case it's sensitive */
+ memset(ctx, 0, sizeof(
*ctx));
/* In case it's sensitive */
}
#ifndef ASM_MD5