aboutsummaryrefslogtreecommitdiffstats
path: root/src/tls/tls_record.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/tls/tls_record.h')
-rw-r--r--src/tls/tls_record.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tls/tls_record.h b/src/tls/tls_record.h
index fa5da52b4..9f63b5dec 100644
--- a/src/tls/tls_record.h
+++ b/src/tls/tls_record.h
@@ -45,6 +45,8 @@ class BOTAN_DLL Record_Writer
void set_version(Protocol_Version version);
+ bool record_version_set() const { return m_version.valid(); }
+
void reset();
void set_maximum_fragment_size(size_t max_fragment);