aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/test_pkcs11_low_level.cpp2
-rw-r--r--src/tests/test_rng.h2
-rw-r--r--src/tests/test_x509_path.cpp4
3 files changed, 4 insertions, 4 deletions
diff --git a/src/tests/test_pkcs11_low_level.cpp b/src/tests/test_pkcs11_low_level.cpp
index 930a9ea01..ffe9dfc20 100644
--- a/src/tests/test_pkcs11_low_level.cpp
+++ b/src/tests/test_pkcs11_low_level.cpp
@@ -46,7 +46,7 @@ class RAII_LowLevel
m_low_level->C_Initialize(&init_args);
}
- ~RAII_LowLevel() BOTAN_NOEXCEPT
+ ~RAII_LowLevel() noexcept
{
try
{
diff --git a/src/tests/test_rng.h b/src/tests/test_rng.h
index 942277050..37501da2e 100644
--- a/src/tests/test_rng.h
+++ b/src/tests/test_rng.h
@@ -56,7 +56,7 @@ class Fixed_Output_RNG : public Botan::RandomNumberGenerator
return "Fixed_Output_RNG";
}
- void clear() BOTAN_NOEXCEPT override {}
+ void clear() noexcept override {}
explicit Fixed_Output_RNG(const std::vector<uint8_t>& in)
{
diff --git a/src/tests/test_x509_path.cpp b/src/tests/test_x509_path.cpp
index 90dd7e675..57f2d8602 100644
--- a/src/tests/test_x509_path.cpp
+++ b/src/tests/test_x509_path.cpp
@@ -580,8 +580,8 @@ std::vector<Test::Result> BSI_Path_Validation_Tests::run()
*/
struct random_bit_generator {
using result_type = size_t;
- static BOTAN_CONSTEXPR result_type min() { return 0; }
- static BOTAN_CONSTEXPR result_type max() { return std::numeric_limits<size_t>::max(); }
+ static constexpr result_type min() { return 0; }
+ static constexpr result_type max() { return std::numeric_limits<size_t>::max(); }
result_type operator()()
{
size_t s;