diff options
author | Pauli <paul.dale@oracle.com> | 2020-02-16 18:02:38 +1000 |
---|---|---|
committer | Pauli <paul.dale@oracle.com> | 2020-02-17 19:29:05 +1000 |
commit | 86cde3187d9acf6f331daff79ff2de87e86c6dc7 (patch) | |
tree | c8da1c3a7f97f6243e65608eaaa6acd94bf59093 /crypto | |
parent | 4f94f748980fc8e6283e0eae90f94950ffd4c1f8 (diff) |
ffc: use sizeof(*pointer) instead of sizeof(struct) in memset(3) call.
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/11101)
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/ffc/ffc_params.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/ffc/ffc_params.c b/crypto/ffc/ffc_params.c index 0c9d1a5d39..cb8987b64d 100644 --- 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; } |