aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/tests/unit_ecc.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tests/unit_ecc.cpp b/src/tests/unit_ecc.cpp
index 8b196b472..aecf6e5d4 100644
--- a/src/tests/unit_ecc.cpp
+++ b/src/tests/unit_ecc.cpp
@@ -188,6 +188,8 @@ class NIST_Curve_Reduction_Tests final : public Test
{
std::vector<Test::Result> results;
+ // Using lambdas here to avoid strange UbSan warning (#1370)
+
#if defined(BOTAN_HAS_NIST_PRIME_REDUCERS_W32)
results.push_back(random_redc_test(
"P-384",