aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/md2/md2_dgst.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/md2/md2_dgst.c')
-rw-r--r--crypto/md2/md2_dgst.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/crypto/md2/md2_dgst.c b/crypto/md2/md2_dgst.c
index 7f5d9ba69ba2..44193e282b43 100644
--- a/crypto/md2/md2_dgst.c
+++ b/crypto/md2/md2_dgst.c
@@ -122,9 +122,9 @@ const char *MD2_options(void)
fips_md_init(MD2)
{
c->num = 0;
- memset(c->state, 0, sizeof c->state);
- memset(c->cksm, 0, sizeof c->cksm);
- memset(c->data, 0, sizeof c->data);
+ memset(c->state, 0, sizeof(c->state));
+ memset(c->cksm, 0, sizeof(c->cksm));
+ memset(c->data, 0, sizeof(c->data));
return 1;
}