diff options
author | lloyd <[email protected]> | 2012-01-06 15:32:21 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2012-01-06 15:32:21 +0000 |
commit | ab5ff573a861b3371aa4c9dd2c2fee675a5165a6 (patch) | |
tree | 4958f26a74d7e2558efbd0dffbe661f87fa267dc /src/tls/rec_wri.cpp | |
parent | 098a3fe831d567f6a143679872de72a7b210d24a (diff) |
Remove the version getter in TLS_Channel - caller should use the
handshake callback info instead. Clean up the buffer consumption code
in the record reader.
Diffstat (limited to 'src/tls/rec_wri.cpp')
-rw-r--r-- | src/tls/rec_wri.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/tls/rec_wri.cpp b/src/tls/rec_wri.cpp index 4ccec58d9..e9097f813 100644 --- a/src/tls/rec_wri.cpp +++ b/src/tls/rec_wri.cpp @@ -68,15 +68,6 @@ void Record_Writer::set_version(Version_Code version) } /* -* Get the version in use -*/ -Version_Code Record_Writer::get_version() const - { - return static_cast<Version_Code>( - (static_cast<u16bit>(m_major) << 8) | m_minor); - } - -/* * Set the keys for writing */ void Record_Writer::activate(const TLS_Cipher_Suite& suite, |