diff options
author | Jack Lloyd <[email protected]> | 2018-02-25 18:46:18 -0500 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2018-02-25 18:46:18 -0500 |
commit | a3d712149cfe7fc8a2ce8885bd29264cff496639 (patch) | |
tree | de3b0139cccdd74bcfa8be69953f309c6142c5cb /src | |
parent | b0971e8b7f44591c476454aef5a5a7da7e0389c4 (diff) |
Add comment explaining why we are using these useless lambdas
Diffstat (limited to 'src')
-rw-r--r-- | src/tests/unit_ecc.cpp | 2 |
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", |