diff options
author | Jack Lloyd <[email protected]> | 2018-03-25 17:07:48 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2018-03-25 17:07:48 -0400 |
commit | 6747faa63553d80276fd6eb54523ddbc38153eaa (patch) | |
tree | c3a21790ab53d186ad463cb594a86cece080c9fb /src/tests/test_dl_group.cpp | |
parent | 0e8280ce89a4150ed09fae3f03584cce8c405951 (diff) |
Fix sanitizer issue in DL_Group tests
Out of range enum
Diffstat (limited to 'src/tests/test_dl_group.cpp')
-rw-r--r-- | src/tests/test_dl_group.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/test_dl_group.cpp b/src/tests/test_dl_group.cpp index 99724a7fb..2644d5e1a 100644 --- a/src/tests/test_dl_group.cpp +++ b/src/tests/test_dl_group.cpp @@ -47,7 +47,7 @@ class DL_Group_Tests final : public Test result.test_throws("Bad generator param", "Invalid argument DL_Group unknown PrimeType", []() { - auto invalid_type = static_cast<Botan::DL_Group::PrimeType>(666); + auto invalid_type = static_cast<Botan::DL_Group::PrimeType>(9); Botan::DL_Group dl(Test::rng(), invalid_type, 1024); }); |