Skip to content

Commit

Permalink
tests: Switch to NONE contexts in module tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jonasnick committed Dec 5, 2022
1 parent 80cf386 commit e03e759
Show file tree
Hide file tree
Showing 4 changed files with 153 additions and 235 deletions.
2 changes: 1 addition & 1 deletion src/modules/ecdh/tests_impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ int ecdh_hash_function_custom(unsigned char *output, const unsigned char *x, con

void test_ecdh_api(void) {
/* Setup context that just counts errors */
secp256k1_context *tctx = secp256k1_context_create(SECP256K1_CONTEXT_SIGN);
secp256k1_context *tctx = secp256k1_context_create(SECP256K1_CONTEXT_NONE);
secp256k1_pubkey point;
unsigned char res[32];
unsigned char s_one[32] = { 0 };
Expand Down
Loading

0 comments on commit e03e759

Please sign in to comment.