summaryrefslogtreecommitdiff
path: root/modules/pam_unix/md5.c
diff options
context:
space:
mode:
authorSteve Langasek <steve.langasek@ubuntu.com>2019-01-03 21:15:18 -0800
committerSteve Langasek <vorlon@debian.org>2019-01-08 22:11:51 -0800
commit18ad8104e674ec8e1fb74d15a248680e51044854 (patch)
tree7f69ab6548c6e13babbcd5835ea09a6ecbee2c3d /modules/pam_unix/md5.c
parent4b2748e1c594a8175dfa83b6dc321291da012882 (diff)
parentc55c14c5c6762139ec6695d84ea0e2e917da5264 (diff)
merge upstream version 1.1.5
Diffstat (limited to 'modules/pam_unix/md5.c')
-rw-r--r--modules/pam_unix/md5.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/pam_unix/md5.c b/modules/pam_unix/md5.c
index 7ee9ed00..1c622ecd 100644
--- a/modules/pam_unix/md5.c
+++ b/modules/pam_unix/md5.c
@@ -148,7 +148,7 @@ void MD5Name(MD5Final)(unsigned char digest[16], struct MD5Context *ctx)
MD5Name(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