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:
4f94f74
)
ffc: use sizeof(*pointer) instead of sizeof(struct) in memset(3) call.
author
Pauli
<paul.dale@oracle.com>
Sun, 16 Feb 2020 08:02:38 +0000
(18:02 +1000)
committer
Pauli
<paul.dale@oracle.com>
Mon, 17 Feb 2020 09:29:05 +0000
(19:29 +1000)
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/11101)
crypto/ffc/ffc_params.c
patch
|
blob
|
history
diff --git
a/crypto/ffc/ffc_params.c
b/crypto/ffc/ffc_params.c
index 0c9d1a5d39bc667e703f3536ab37630f4cd62625..cb8987b64d2fb77f1859df52b11e9a72ebe4dcb5 100644
(file)
--- a/
crypto/ffc/ffc_params.c
+++ b/
crypto/ffc/ffc_params.c
@@
-15,7
+15,7
@@
void ffc_params_init(FFC_PARAMS *params)
{
- memset(params, 0, sizeof(
FFC_PARAMS
));
+ memset(params, 0, sizeof(
*params
));
params->pcounter = -1;
params->gindex = FFC_UNVERIFIABLE_GINDEX;
}