From: Rich Salz Date: Mon, 4 May 2015 14:34:51 +0000 (-0400) Subject: Fix cut/paste error X-Git-Tag: OpenSSL_1_1_0-pre1~1204 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=23b0fa5ab6b6b9f0a9350e24ac5ddb8275802617;p=oweals%2Fopenssl.git Fix cut/paste error Was memset with wrong sizeof. Reviewed-by: Richard Levitte --- 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);