mirror of
https://github.com/bitcoin/bitcoin.git
synced 2024-11-20 10:38:42 +01:00
Fixes a bug where bench_sign would fail due to passing in too small a buffer.
This was introduced by the recent API change when the signature types were split.
This commit is contained in:
parent
5eb435694e
commit
5fb32296af
@ -27,8 +27,8 @@ static void bench_sign(void* arg) {
|
||||
bench_sign_t *data = (bench_sign_t*)arg;
|
||||
|
||||
unsigned char sig[74];
|
||||
int siglen = 74;
|
||||
for (i = 0; i < 20000; i++) {
|
||||
int siglen = 74;
|
||||
int j;
|
||||
secp256k1_ecdsa_signature_t signature;
|
||||
CHECK(secp256k1_ecdsa_sign(data->ctx, data->msg, &signature, data->key, NULL, NULL));
|
||||
|
Loading…
Reference in New Issue
Block a user