aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/tls/tls_client.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2014-11-04 22:29:20 +0000
committerlloyd <[email protected]>2014-11-04 22:29:20 +0000
commitc05e81c5d12de651dee8b752a0bd709ffed45785 (patch)
treedce791a33091728314c72af77900768cae46dd8f /src/lib/tls/tls_client.cpp
parent757a72a79b31e3a18e2d48f43c7436e0566c75a0 (diff)
Let TLS policy disable putting the timestamp in the hello random fields
Diffstat (limited to 'src/lib/tls/tls_client.cpp')
-rw-r--r--src/lib/tls/tls_client.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/tls/tls_client.cpp b/src/lib/tls/tls_client.cpp
index 7cc0dddbd..86d1998e1 100644
--- a/src/lib/tls/tls_client.cpp
+++ b/src/lib/tls/tls_client.cpp
@@ -502,7 +502,7 @@ void Client::process_handshake_msg(const Handshake_State* active_state,
const std::vector<byte>& session_ticket = state.session_ticket();
if(session_id.empty() && !session_ticket.empty())
- session_id = make_hello_random(rng());
+ session_id = make_hello_random(rng(), m_policy);
Session session_info(
session_id,