projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b6d3cb5
)
Fix cut/paste error
author
Rich Salz
<rsalz@akamai.com>
Mon, 4 May 2015 14:34:51 +0000
(10:34 -0400)
committer
Rich Salz
<rsalz@openssl.org>
Mon, 4 May 2015 14:53:15 +0000
(10:53 -0400)
Was memset with wrong sizeof.
Reviewed-by: Richard Levitte <levitte@openssl.org>
crypto/x509/x509_vpm.c
patch
|
blob
|
history
diff --git
a/crypto/x509/x509_vpm.c
b/crypto/x509/x509_vpm.c
index b9a974136cb55176fb47335368885bb5730e9156..1d88f56a7f1ed454fc8e3b9128613ed8b2740482 100644
(file)
--- 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 *param
id
);
+ memset(param, 0, sizeof *param);
memset(paramid, 0, sizeof *paramid);
param->id = paramid;
x509_verify_param_zero(param);