What changed, and why it matters
This commit only updates the project's CHANGELOG.md file to document that a previously removed internal macro (SECP256K1_GNUC_PREREQ) was not part of the public API. It is a documentation-only change with no code modifications and no security relevance.
No action needed; this is a documentation-only changelog entry.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The diff adds a single line to CHANGELOG.md under the ‘Removed’ section for the upcoming release, noting the removal of the SECP256K1_GNUC_PREREQ macro from include/secp256k1.h and advising users who may have relied on it to use compiler-defined GNUC/GNUC_MINOR or copy the old definition. No source code, build system, or cryptographic logic is changed.
Changed components
CHANGELOG.mdInspect captured patch +1 / −0
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 92b9b1f..5ccb452 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -20,6 +20,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
#### Removed
- Removed previously deprecated pointer `secp256k1_context_no_precomp`. Use `secp256k1_context_static` instead.
- Removed previously deprecated function alias `secp256k1_schnorrsig_sign`. Use `secp256k1_schnorrsig_sign32` instead.
+- Removed macro SECP256K1_GNUC_PREREQ defined in the header file `include/secp256k1.h`. This macro was used in the library headers to check for GNU C extensions. The macro was not actually meant to be part of the public API of libsecp256k1. If you happened to use it in your code nevertheless, use the macros `__GNUC__` and `__GNUC_MINOR__` (defined by compilers with GNU C extensions) directly, or copy the macro definition from an old libsecp256k1 header file into your code.
## [0.7.1] - 2026-01-26
Why this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.