summaryrefslogtreecommitdiffstats
path: root/crypto/ec
diff options
context:
space:
mode:
authorPauli <pauli@openssl.org>2022-03-16 14:45:44 +1100
committerPauli <pauli@openssl.org>2022-03-21 07:59:14 +1100
commit344c7fb8a83e8eaac2ea01aaa82c7108945c9dc7 (patch)
treece34149d75695f369a9d725ca34cc0c5e7940758 /crypto/ec
parentf8c5b8bad32c765a53d856f30d791322dd9f19fa (diff)
Fix coverity 1498607: uninitialised value
Reviewed-by: Tim Hudson <tjh@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/17897) (cherry picked from commit 70cd9a51911e9a4e2f24e29ddd84fa9fcb778b63)
Diffstat (limited to 'crypto/ec')
-rw-r--r--crypto/ec/ecp_nistz256.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/ec/ecp_nistz256.c b/crypto/ec/ecp_nistz256.c
index a9982caef6..8a1a348817 100644
--- a/crypto/ec/ecp_nistz256.c
+++ b/crypto/ec/ecp_nistz256.c
@@ -978,6 +978,7 @@ __owur static int ecp_nistz256_points_mul(const EC_GROUP *group,
return 0;
}
+ memset(&p, 0, sizeof(p));
BN_CTX_start(ctx);
if (scalar) {