aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/tls/tls_record.h
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2017-09-22 11:38:42 -0400
committerJack Lloyd <[email protected]>2017-09-22 11:38:42 -0400
commit27482d71e00dcf106735ef824ded70cf25c6150f (patch)
tree60ee512ff6eed74051718920eb126c30c854e322 /src/lib/tls/tls_record.h
parenta2e70c4eb74d016d8b3c783b4964cfc5ea2b7ddf (diff)
Apply final annotations to the library also
Done by a perl script which converted all classes to final, followed by selective reversion where it caused compilation failures.
Diffstat (limited to 'src/lib/tls/tls_record.h')
-rw-r--r--src/lib/tls/tls_record.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/tls/tls_record.h b/src/lib/tls/tls_record.h
index 63989a17e..1fe3a558b 100644
--- a/src/lib/tls/tls_record.h
+++ b/src/lib/tls/tls_record.h
@@ -28,7 +28,7 @@ class Connection_Sequence_Numbers;
/**
* TLS Cipher State
*/
-class Connection_Cipher_State
+class Connection_Cipher_State final
{
public:
/**
@@ -71,7 +71,7 @@ class Connection_Cipher_State
bool m_cbc_nonce;
};
-class Record
+class Record final
{
public:
Record(secure_vector<uint8_t>& data,
@@ -99,7 +99,7 @@ class Record
size_t m_size;
};
-class Record_Message
+class Record_Message final
{
public:
Record_Message(const uint8_t* data, size_t size)
@@ -120,7 +120,7 @@ class Record_Message
size_t m_size;
};
-class Record_Raw_Input
+class Record_Raw_Input final
{
public:
Record_Raw_Input(const uint8_t* data, size_t size, size_t& consumed,