summaryrefslogtreecommitdiff
path: root/src/skey
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2014-02-17 10:59:47 +0100
committerStefano Karapetsas <[email protected]>2014-02-17 10:59:47 +0100
commit43895e3aa9292d6e7a429126527cc43f50b93483 (patch)
tree248c9f73e9e9ae30c4714127aa29774bdcfc52b5 /src/skey
parentdafab9dd2196739bf283ac0207a60168734e3105 (diff)
parentd6483a80a9eef3a9ba4ea1394558ebbaa39a7cbe (diff)
downloadmate-terminal-43895e3aa9292d6e7a429126527cc43f50b93483.tar.bz2
mate-terminal-43895e3aa9292d6e7a429126527cc43f50b93483.tar.xz
Merge pull request #55 from markbt/warnings
Fix some warnings.
Diffstat (limited to 'src/skey')
-rw-r--r--src/skey/md4.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/skey/md4.c b/src/skey/md4.c
index 9061581..2335240 100644
--- a/src/skey/md4.c
+++ b/src/skey/md4.c
@@ -169,7 +169,7 @@ void MD4Final(unsigned char* digest, MD4_CTX *ctx)
if (digest!=NULL)
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 */
}
/* The three core functions */