aboutsummaryrefslogtreecommitdiffstats
path: root/src/ssl/tls_record.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ssl/tls_record.h')
-rw-r--r--src/ssl/tls_record.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ssl/tls_record.h b/src/ssl/tls_record.h
index 09fd921c6..6d5dd057d 100644
--- a/src/ssl/tls_record.h
+++ b/src/ssl/tls_record.h
@@ -99,6 +99,8 @@ class BOTAN_DLL Record_Reader
void reset();
+ bool currently_empty() const { return input_queue.size() == 0; }
+
Record_Reader() { mac = 0; reset(); }
~Record_Reader() { delete mac; }