aboutsummaryrefslogtreecommitdiffstats
path: root/src/tls/c_hello.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2012-01-11 20:49:17 +0000
committerlloyd <[email protected]>2012-01-11 20:49:17 +0000
commit4c6327c95bd01de54487b3159b77a5152ed39564 (patch)
treee76d05290c93a91b0886bad3be63c4329d0fbeb8 /src/tls/c_hello.cpp
parentd146e65c66bc157c5a884d0ea5ac6cb167a4c929 (diff)
Build fixes
Diffstat (limited to 'src/tls/c_hello.cpp')
-rw-r--r--src/tls/c_hello.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/tls/c_hello.cpp b/src/tls/c_hello.cpp
index 6c4964fb1..2455eae3b 100644
--- a/src/tls/c_hello.cpp
+++ b/src/tls/c_hello.cpp
@@ -204,6 +204,7 @@ void Client_Hello::deserialize_sslv2(const MemoryRegion<byte>& buf)
m_fragment_size = 0;
m_next_protocol = false;
+ m_supports_session_ticket = false;
}
/*
@@ -257,6 +258,11 @@ void Client_Hello::deserialize(const MemoryRegion<byte>& buf)
{
m_fragment_size = frag->fragment_size();
}
+ else if(Session_Ticket* ticket = dynamic_cast<Session_Ticket*>(extn))
+ {
+ m_supports_session_ticket = true;
+ m_session_ticket = ticket->contents();
+ }
else if(Renegotation_Extension* reneg = dynamic_cast<Renegotation_Extension*>(extn))
{
// checked by TLS_Client / TLS_Server as they know the handshake state