tests: Switch to NONE contexts in module tests

This commit is contained in:
Jonas Nick
2022-11-28 22:09:29 +00:00
parent 0c8a5caddd
commit d6dc0f4ae3
4 changed files with 153 additions and 235 deletions

View File

@@ -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 };