aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/misc
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/misc')
-rw-r--r--src/lib/misc/fpe_fe1/fpe_fe1.cpp2
-rw-r--r--src/lib/misc/hotp/hotp.h2
-rw-r--r--src/lib/misc/hotp/totp.h2
-rw-r--r--src/lib/misc/srp6/srp6.h2
-rw-r--r--src/lib/misc/tss/tss.h2
5 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/misc/fpe_fe1/fpe_fe1.cpp b/src/lib/misc/fpe_fe1/fpe_fe1.cpp
index 72e154374..41a0cc606 100644
--- a/src/lib/misc/fpe_fe1/fpe_fe1.cpp
+++ b/src/lib/misc/fpe_fe1/fpe_fe1.cpp
@@ -75,7 +75,7 @@ size_t rounds(const BigInt& a, const BigInt& b)
/*
* A simple round function based on HMAC(SHA-256)
*/
-class FPE_Encryptor
+class FPE_Encryptor final
{
public:
FPE_Encryptor(const SymmetricKey& key,
diff --git a/src/lib/misc/hotp/hotp.h b/src/lib/misc/hotp/hotp.h
index 8d10357b9..481e404eb 100644
--- a/src/lib/misc/hotp/hotp.h
+++ b/src/lib/misc/hotp/hotp.h
@@ -15,7 +15,7 @@ namespace Botan {
/**
* HOTP one time passwords (RFC 4226)
*/
-class BOTAN_PUBLIC_API(2,2) HOTP
+class BOTAN_PUBLIC_API(2,2) HOTP final
{
public:
/**
diff --git a/src/lib/misc/hotp/totp.h b/src/lib/misc/hotp/totp.h
index 55ff93a5e..4ef74d363 100644
--- a/src/lib/misc/hotp/totp.h
+++ b/src/lib/misc/hotp/totp.h
@@ -15,7 +15,7 @@ namespace Botan {
/**
* TOTP (time based) one time passwords (RFC 6238)
*/
-class BOTAN_PUBLIC_API(2,2) TOTP
+class BOTAN_PUBLIC_API(2,2) TOTP final
{
public:
/**
diff --git a/src/lib/misc/srp6/srp6.h b/src/lib/misc/srp6/srp6.h
index 464b67252..ad880946a 100644
--- a/src/lib/misc/srp6/srp6.h
+++ b/src/lib/misc/srp6/srp6.h
@@ -63,7 +63,7 @@ std::string BOTAN_PUBLIC_API(2,0) srp6_group_identifier(const BigInt& N, const B
/**
* Represents a SRP-6a server session
*/
-class BOTAN_PUBLIC_API(2,0) SRP6_Server_Session
+class BOTAN_PUBLIC_API(2,0) SRP6_Server_Session final
{
public:
/**
diff --git a/src/lib/misc/tss/tss.h b/src/lib/misc/tss/tss.h
index d1fd15f24..4a5a5571d 100644
--- a/src/lib/misc/tss/tss.h
+++ b/src/lib/misc/tss/tss.h
@@ -18,7 +18,7 @@ class RandomNumberGenerator;
/**
* A split secret, using the format from draft-mcgrew-tss-03
*/
-class BOTAN_PUBLIC_API(2,0) RTSS_Share
+class BOTAN_PUBLIC_API(2,0) RTSS_Share final
{
public:
/**