diff options
author | lloyd <[email protected]> | 2012-09-06 19:03:08 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2012-09-06 19:03:08 +0000 |
commit | a0586a0b542ebf08b58c371eae7c7b1cacf84ecc (patch) | |
tree | f838cb41754e24fef432592f73bb3d090bad2f09 /src/tls/tls_channel.h | |
parent | 263bc1d72b059a77b7b06e00cbbaf38311965a37 (diff) |
Inline current_protocol_version, fix fragment limit check
Diffstat (limited to 'src/tls/tls_channel.h')
-rw-r--r-- | src/tls/tls_channel.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tls/tls_channel.h b/src/tls/tls_channel.h index fc838afcf..d9c1ab34b 100644 --- a/src/tls/tls_channel.h +++ b/src/tls/tls_channel.h @@ -120,7 +120,8 @@ class BOTAN_DLL Channel void set_protocol_version(Protocol_Version version); - Protocol_Version current_protocol_version() const; + Protocol_Version current_protocol_version() const + { return m_current_version; } void set_maximum_fragment_size(size_t maximum); |