Skip to content

Commit d6dc0f4

Browse files
committed
tests: Switch to NONE contexts in module tests
1 parent 0c8a5ca commit d6dc0f4

File tree

4 files changed

+153
-235
lines changed

4 files changed

+153
-235
lines changed

src/modules/ecdh/tests_impl.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ int ecdh_hash_function_custom(unsigned char *output, const unsigned char *x, con
2626

2727
void test_ecdh_api(void) {
2828
/* Setup context that just counts errors */
29-
secp256k1_context *tctx = secp256k1_context_create(SECP256K1_CONTEXT_SIGN);
29+
secp256k1_context *tctx = secp256k1_context_create(SECP256K1_CONTEXT_NONE);
3030
secp256k1_pubkey point;
3131
unsigned char res[32];
3232
unsigned char s_one[32] = { 0 };

0 commit comments

Comments
 (0)