diff options
Diffstat (limited to 'src/tls/tls_handshake_hash.h')
-rw-r--r-- | src/tls/tls_handshake_hash.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tls/tls_handshake_hash.h b/src/tls/tls_handshake_hash.h index bf6c8ff8b..e7fc24f64 100644 --- a/src/tls/tls_handshake_hash.h +++ b/src/tls/tls_handshake_hash.h @@ -38,6 +38,7 @@ class Handshake_Hash const std::vector<byte>& get_contents() const { return data; } + void reset() { data.clear(); } private: std::vector<byte> data; }; |