Merge pull request #233

6534ee1 initialize variable (Cory Fields)
This commit is contained in:
Pieter Wuille 2015-04-10 01:20:23 -07:00
commit a0d3b89dd6
No known key found for this signature in database
GPG Key ID: 57896D2FF8F0B657
1 changed files with 1 additions and 0 deletions

View File

@ -111,6 +111,7 @@ static void secp256k1_ecmult_gen(secp256k1_gej_t *r, const secp256k1_scalar_t *g
secp256k1_ge_storage_t adds; secp256k1_ge_storage_t adds;
int bits; int bits;
int i, j; int i, j;
memset(&adds, 0, sizeof(adds));
secp256k1_gej_set_infinity(r); secp256k1_gej_set_infinity(r);
add.infinity = 0; add.infinity = 0;
for (j = 0; j < 64; j++) { for (j = 0; j < 64; j++) {