diff --git a/CHANGELOG.md b/CHANGELOG.md index d4beb9c801..1ebed71ddd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +#### Removed +- Removed previously deprecated pointer `secp256k1_context_no_precomp`. Use `secp256k1_context_static` instead. + ## [0.7.1] - 2026-01-26 #### Changed diff --git a/include/secp256k1.h b/include/secp256k1.h index 2f3383e16a..b39b80743d 100644 --- a/include/secp256k1.h +++ b/include/secp256k1.h @@ -245,10 +245,6 @@ typedef int (*secp256k1_nonce_function)( */ SECP256K1_API const secp256k1_context * const secp256k1_context_static; -/** Deprecated alias for secp256k1_context_static. */ -SECP256K1_API const secp256k1_context * const secp256k1_context_no_precomp -SECP256K1_DEPRECATED("Use secp256k1_context_static instead"); - /** Perform basic self tests (to be used in conjunction with secp256k1_context_static) * * This function performs self tests that detect some serious usage errors and diff --git a/src/secp256k1.c b/src/secp256k1.c index b216872e12..19d1c39966 100644 --- a/src/secp256k1.c +++ b/src/secp256k1.c @@ -74,7 +74,6 @@ static const secp256k1_context secp256k1_context_static_ = { 0 }; const secp256k1_context * const secp256k1_context_static = &secp256k1_context_static_; -const secp256k1_context * const secp256k1_context_no_precomp = &secp256k1_context_static_; /* Helper function that determines if a context is proper, i.e., is not the static context or a copy thereof. * diff --git a/src/tests.c b/src/tests.c index e821738d5a..1a6cc562d5 100644 --- a/src/tests.c +++ b/src/tests.c @@ -194,9 +194,6 @@ static void run_ec_illegal_argument_tests(void) { } static void run_static_context_tests(int use_prealloc) { - /* Check that deprecated secp256k1_context_no_precomp is an alias to secp256k1_context_static. */ - CHECK(secp256k1_context_no_precomp == secp256k1_context_static); - { unsigned char seed[32] = {0x17};