aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2018-02-25 18:46:18 -0500
committerJack Lloyd <[email protected]>2018-02-25 18:46:18 -0500
commita3d712149cfe7fc8a2ce8885bd29264cff496639 (patch)
treede3b0139cccdd74bcfa8be69953f309c6142c5cb /src/tests
parentb0971e8b7f44591c476454aef5a5a7da7e0389c4 (diff)
Add comment explaining why we are using these useless lambdas
Diffstat (limited to 'src/tests')
-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",