aboutsummaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorRich Salz <rsalz@akamai.com>2015-05-04 10:34:51 -0400
committerRich Salz <rsalz@openssl.org>2015-05-04 10:53:15 -0400
commit23b0fa5ab6b6b9f0a9350e24ac5ddb8275802617 (patch)
tree874ec94df9361bedb2bc0e7a85d25cc668ed79b7 /crypto
parentb6d3cb543c2e91aa6820cde637db55ad1cee525f (diff)
downloadopenssl-23b0fa5ab6b6b9f0a9350e24ac5ddb8275802617.tar.gz
Fix cut/paste error
Was memset with wrong sizeof. Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'crypto')
-rw-r--r--crypto/x509/x509_vpm.c2
1 files changed, 1 insertions, 1 deletions
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);