Skip to content

Commit 020ee60

Browse files
Merge #1706: musig/tests: initialize keypair
cde4130 musig/tests: initialize keypair (Jonas Nick) Pull request description: The keypair is unused in musig_partial_sign, but clang-snapshot gives a compiler warning anyway. ACKs for top commit: real-or-random: ACK cde4130 Tree-SHA512: 2a6c2b31c3ef8b5353c5dbdc156d052ff802d1f62d22214d952ee46223a9f87bc36b3ecdd49788381db379a01be83ded9def752747769b3751f3f058d57403e6
2 parents 6037833 + cde4130 commit 020ee60

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/modules/musig/tests_impl.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -918,6 +918,7 @@ static void musig_test_vectors_signverify(void) {
918918
continue;
919919
}
920920
CHECK(secp256k1_ec_pubkey_parse(CTX, &pubkey, vector->pubkeys[0], sizeof(vector->pubkeys[0])));
921+
CHECK(secp256k1_keypair_create(CTX, &keypair, vector->sk));
921922

922923
expected = c->error != MUSIG_AGGNONCE;
923924
CHECK(expected == secp256k1_musig_aggnonce_parse(CTX, &aggnonce, vector->aggnonces[c->aggnonce_index]));

0 commit comments

Comments
 (0)