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)
This commit is contained in:
Pauli 2022-03-16 14:45:44 +11:00
parent 92cae9b42d
commit 70cd9a5191
1 changed files with 1 additions and 0 deletions

View File

@ -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) {