tests: Switch to NONE contexts in module tests

This commit is contained in:
Jonas Nick committed 2022-12-07 10:54:50 +00:00
1 parent 0c8a5caddd
commit d6dc0f4ae3
4 files changed
+153 -235

No files matched your search

+1 -1
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 };