summaryrefslogtreecommitdiff
path: root/src/skey
diff options
context:
space:
mode:
authorMark Thomas <[email protected]>2014-02-12 00:05:23 +0000
committerMark Thomas <[email protected]>2014-02-12 00:05:23 +0000
commitd6483a80a9eef3a9ba4ea1394558ebbaa39a7cbe (patch)
tree572dc84b68da056778ce6540d7e03247350b2232 /src/skey
parent393743c91f597abe846057d0485a32b46cd5bb3c (diff)
downloadmate-terminal-d6483a80a9eef3a9ba4ea1394558ebbaa39a7cbe.tar.bz2
mate-terminal-d6483a80a9eef3a9ba4ea1394558ebbaa39a7cbe.tar.xz
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 */