tests: Initialize random group elements fully

Also fix add a missing comment.
This commit is contained in:
Tim Ruffing
2020-09-13 11:27:15 +02:00
parent c9939ba55d
commit 5738e8622d
2 changed files with 2 additions and 0 deletions

View File

@@ -86,6 +86,7 @@ void random_group_element_test(secp256k1_ge *ge) {
break;
}
} while(1);
ge->infinity = 0;
}
void random_group_element_jacobian_test(secp256k1_gej *gej, const secp256k1_ge *ge) {