diff options
author | Rich Salz <rsalz@akamai.com> | 2015-05-04 10:34:51 -0400 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2015-05-04 10:54:18 -0400 |
commit | 82e586a90b18fa91fb2756af4c36cc70ff097f6d (patch) | |
tree | c0e021caf91d7da602de071fcb190afcfc37b932 /crypto/x509 | |
parent | a65938663979e5452ce6fc42c82356d671bb5409 (diff) |
Fix cut/paste error
Was memset with wrong sizeof.
Reviewed-by: Richard Levitte <levitte@openssl.org>
(cherry picked from commit 23b0fa5ab6b6b9f0a9350e24ac5ddb8275802617)
Diffstat (limited to 'crypto/x509')
-rw-r--r-- | crypto/x509/x509_vpm.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |