From 23b0fa5ab6b6b9f0a9350e24ac5ddb8275802617 Mon Sep 17 00:00:00 2001 From: Rich Salz Date: Mon, 4 May 2015 10:34:51 -0400 Subject: [PATCH] Fix cut/paste error Was memset with wrong sizeof. Reviewed-by: Richard Levitte --- crypto/x509/x509_vpm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crypto/x509/x509_vpm.c b/crypto/x509/x509_vpm.c index b9a974136c..1d88f56a7f 100644 --- a/crypto/x509/x509_vpm.c +++ b/crypto/x509/x509_vpm.c @@ -169,7 +169,7 @@ X509_VERIFY_PARAM *X509_VERIFY_PARAM_new(void) OPENSSL_free(param); return NULL; } - memset(param, 0, sizeof *paramid); + memset(param, 0, sizeof *param); memset(paramid, 0, sizeof *paramid); param->id = paramid; x509_verify_param_zero(param);