aboutsummaryrefslogtreecommitdiffstats
path: root/src/tls/tls_extensions.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2012-03-22 18:20:26 +0000
committerlloyd <[email protected]>2012-03-22 18:20:26 +0000
commit4004e38a00f6bf5743af68d47e44f7adf3872d2b (patch)
tree605a6ec635f74221f65fbdfec00467a72f21e975 /src/tls/tls_extensions.cpp
parent544171d3e20d65f17a1d3955388a8db4f04cfe44 (diff)
Server side handling of session tickets, though currently with a
hard-coded key.
Diffstat (limited to 'src/tls/tls_extensions.cpp')
-rw-r--r--src/tls/tls_extensions.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tls/tls_extensions.cpp b/src/tls/tls_extensions.cpp
index ae236d0c5..1ca4e3eb4 100644
--- a/src/tls/tls_extensions.cpp
+++ b/src/tls/tls_extensions.cpp
@@ -504,10 +504,10 @@ Signature_Algorithms::Signature_Algorithms(TLS_Data_Reader& reader,
}
}
-Session_Ticket::Session_Ticket(const TLS_Data_Reader& reader,
+Session_Ticket::Session_Ticket(TLS_Data_Reader& reader,
u16bit extension_size)
{
-#warning "can't read session tickets"
+ m_ticket = reader.get_elem<byte, MemoryVector<byte> >(extension_size);
}
}