aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/test_newhope.cpp
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2017-09-22 10:56:25 -0400
committerJack Lloyd <[email protected]>2017-09-22 10:56:25 -0400
commit2610d170e73b3e1f94c35de75f6c25cea52ef7d5 (patch)
tree9c60bb607340eb79dace57184ed67145a478cfa4 /src/tests/test_newhope.cpp
parentdc24f117eca49214d45582c83d2b8ddcc2c81704 (diff)
Add final annotations as appropriate in the test code
Diffstat (limited to 'src/tests/test_newhope.cpp')
-rw-r--r--src/tests/test_newhope.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/test_newhope.cpp b/src/tests/test_newhope.cpp
index 112b1f4a7..171ddd22e 100644
--- a/src/tests/test_newhope.cpp
+++ b/src/tests/test_newhope.cpp
@@ -17,7 +17,7 @@ namespace Botan_Tests {
#if defined(BOTAN_HAS_NEWHOPE) && defined(BOTAN_HAS_CHACHA)
-class NEWHOPE_RNG : public Botan::RandomNumberGenerator
+class NEWHOPE_RNG final : public Botan::RandomNumberGenerator
{
public:
std::string name() const override
@@ -100,7 +100,7 @@ class NEWHOPE_RNG : public Botan::RandomNumberGenerator
uint8_t m_calls = 0;
};
-class NEWHOPE_Tests : public Text_Based_Test
+class NEWHOPE_Tests final : public Text_Based_Test
{
public:
NEWHOPE_Tests()