tests: do not use functions from extrakeys module

This fixes a bug introduced in 7d2591ce12 that
prevented compiling the library without enabling the extrakeys module.
This commit is contained in:
Jonas Nick
2024-07-22 07:24:31 +00:00
parent 0055b86780
commit af551ab9db
3 changed files with 12 additions and 11 deletions

View File

@@ -107,6 +107,12 @@ static void testutil_random_gej_test(secp256k1_gej *gej) {
testutil_random_ge_jacobian_test(gej, &ge);
}
static void testutil_random_pubkey_test(secp256k1_pubkey *pk) {
secp256k1_ge ge;
testutil_random_ge_test(&ge);
secp256k1_pubkey_save(pk, &ge);
}
static void testutil_random_scalar_order_test(secp256k1_scalar *num) {
do {
unsigned char b32[32];