Skip to content

Commit 8f879c2

Browse files
committed
Fix array size in bench_ecmult
1 parent 2fe1b50 commit 8f879c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bench_ecmult.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ static void bench_ecmult_multi_teardown(void* arg, int iters) {
232232

233233
static void generate_scalar(uint32_t num, secp256k1_scalar* scalar) {
234234
secp256k1_sha256 sha256;
235-
unsigned char c[11] = {'e', 'c', 'm', 'u', 'l', 't', 0, 0, 0, 0};
235+
unsigned char c[10] = {'e', 'c', 'm', 'u', 'l', 't', 0, 0, 0, 0};
236236
unsigned char buf[32];
237237
int overflow = 0;
238238
c[6] = num;

0 commit comments

Comments
 (0)