What changed, and why it matters
This commit only removes invisible trailing spaces at the ends of three lines across three source files. It does not change any program logic, function behavior, or security properties. There is no security relevance.
No action needed; this is a cosmetic cleanup commit with no security impact.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The diff is a pure whitespace cleanup: lines in include/secp256k1.h, src/bench.h, and src/field.h had trailing spaces removed. No executable code, macros, comments’ meaning, or API contracts were altered. It is a non-functional refactor.
Changed components
Inspect captured patch +3 / −3
diff --git a/include/secp256k1.h b/include/secp256k1.h
index 2799d4a..9de45f1 100644
--- a/include/secp256k1.h
+++ b/include/secp256k1.h
@@ -349,7 +349,7 @@ SECP256K1_API void secp256k1_context_destroy(
* writes the message to stderr and calls abort. This default callback can be
* replaced at link time if the preprocessor macro
* USE_EXTERNAL_DEFAULT_CALLBACKS is defined, which is the case if the build
- * has been configured with --enable-external-default-callbacks (GNU Autotools) or
+ * has been configured with --enable-external-default-callbacks (GNU Autotools) or
* -DSECP256K1_USE_EXTERNAL_DEFAULT_CALLBACKS=ON (CMake). Then the
* following two symbols must be provided to link against:
* - void secp256k1_default_illegal_callback_fn(const char *message, void *data);
diff --git a/src/bench.h b/src/bench.h
index 72a3f21..f88277a 100644
--- a/src/bench.h
+++ b/src/bench.h
@@ -59,7 +59,7 @@ static void print_number(const int64_t x) {
y /= 10;
}
} else if (c == 0) { /* fractional part is 0 */
- buffer[--ptr] = '0';
+ buffer[--ptr] = '0';
}
buffer[--ptr] = '.';
do {
diff --git a/src/field.h b/src/field.h
index e3f0234..945029e 100644
--- a/src/field.h
+++ b/src/field.h
@@ -233,7 +233,7 @@ static void secp256k1_fe_add_int(secp256k1_fe *r, int a);
#define secp256k1_fe_mul_int(r, a) ASSERT_INT_CONST_AND_DO(a, secp256k1_fe_mul_int_unchecked(r, a))
/** Like secp256k1_fe_mul_int but a is not checked to be an integer constant expression.
- *
+ *
* Should not be called directly outside of tests.
*/
static void secp256k1_fe_mul_int_unchecked(secp256k1_fe *r, int a);
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.