From 82e586a90b18fa91fb2756af4c36cc70ff097f6d 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 (cherry picked from commit 23b0fa5ab6b6b9f0a9350e24ac5ddb8275802617) --- 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 ad5c9e8766..1ea0c69f57 100644 --- a/crypto/x509/x509_vpm.c +++ b/crypto/x509/x509_vpm.c @@ -181,7 +181,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); -- 2.25.1