aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlloyd <[email protected]>2011-12-23 21:26:05 +0000
committerlloyd <[email protected]>2011-12-23 21:26:05 +0000
commitf6bdf4436ad68736cf4d995b00395219947c9e20 (patch)
treecd8d750de9e426f9af0703053f3f22ab5a236afe
parentef8865f55419d8930f6f71acf89249175c23ab0e (diff)
Compile fix, also save version #
-rw-r--r--src/tls/tls_session_state.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tls/tls_session_state.h b/src/tls/tls_session_state.h
index e6f25b34d..2a1954866 100644
--- a/src/tls/tls_session_state.h
+++ b/src/tls/tls_session_state.h
@@ -24,6 +24,7 @@ struct BOTAN_DLL TLS_Session_Params
std::vector<byte> server_random;
bool resumable;
+ Version_Code version;
Connection_Side connection_side;
Ciphersuite_Code ciphersuite;
Compression_Algo compression_method;
@@ -99,7 +100,7 @@ class BOTAN_DLL TLS_Session_Manager_In_Memory : public TLS_Session_Manager
void prohibit_resumption(const std::vector<byte>& session_id)
{
- std::map<std::vector<byte>, TLS_Session_Params>::const_iterator i =
+ std::map<std::vector<byte>, TLS_Session_Params>::iterator i =
sessions.find(session_id);
if(i != sessions.end())