diff options
author | Steve Langasek <steve.langasek@ubuntu.com> | 2019-01-03 21:15:18 -0800 |
---|---|---|
committer | Steve Langasek <vorlon@debian.org> | 2019-01-08 22:11:51 -0800 |
commit | 18ad8104e674ec8e1fb74d15a248680e51044854 (patch) | |
tree | 7f69ab6548c6e13babbcd5835ea09a6ecbee2c3d /modules/pam_namespace/md5.c | |
parent | 4b2748e1c594a8175dfa83b6dc321291da012882 (diff) | |
parent | c55c14c5c6762139ec6695d84ea0e2e917da5264 (diff) | |
download | pam-18ad8104e674ec8e1fb74d15a248680e51044854.tar.gz pam-18ad8104e674ec8e1fb74d15a248680e51044854.tar.bz2 pam-18ad8104e674ec8e1fb74d15a248680e51044854.zip |
merge upstream version 1.1.5
Diffstat (limited to 'modules/pam_namespace/md5.c')
-rw-r--r-- | modules/pam_namespace/md5.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/pam_namespace/md5.c b/modules/pam_namespace/md5.c index 9a060d27..b23d1607 100644 --- a/modules/pam_namespace/md5.c +++ b/modules/pam_namespace/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 */ } /* The four core functions - F1 is optimized somewhat */ |