Fix array size in bench_ecmult
This commit is contained in:
parent
2fe1b50df1
commit
8f879c2887
|
@ -232,7 +232,7 @@ static void bench_ecmult_multi_teardown(void* arg, int iters) {
|
|||
|
||||
static void generate_scalar(uint32_t num, secp256k1_scalar* scalar) {
|
||||
secp256k1_sha256 sha256;
|
||||
unsigned char c[11] = {'e', 'c', 'm', 'u', 'l', 't', 0, 0, 0, 0};
|
||||
unsigned char c[10] = {'e', 'c', 'm', 'u', 'l', 't', 0, 0, 0, 0};
|
||||
unsigned char buf[32];
|
||||
int overflow = 0;
|
||||
c[6] = num;
|
||||
|
|
Loading…
Reference in New Issue