Skip to content

Commit 3531a43

Browse files
ecdh: Make generator_basepoint test depend on global iteration count
Co-authored-by: Elliott Jin <elliott.jin@gmail.com>
1 parent c881dd4 commit 3531a43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/modules/ecdh/tests_impl.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ void test_ecdh_generator_basepoint(void) {
6060

6161
s_one[31] = 1;
6262
/* Check against pubkey creation when the basepoint is the generator */
63-
for (i = 0; i < 100; ++i) {
63+
for (i = 0; i < 2 * count; ++i) {
6464
secp256k1_sha256 sha;
6565
unsigned char s_b32[32];
6666
unsigned char output_ecdh[65];

0 commit comments

Comments
 (0)