aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/tls/msg_server_hello.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/msg_server_hello.cpp
parent757a72a79b31e3a18e2d48f43c7436e0566c75a0 (diff)
Let TLS policy disable putting the timestamp in the hello random fields
Diffstat (limited to 'src/lib/tls/msg_server_hello.cpp')
-rw-r--r--src/lib/tls/msg_server_hello.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/tls/msg_server_hello.cpp b/src/lib/tls/msg_server_hello.cpp
index f4acc5481..79c16e53a 100644
--- a/src/lib/tls/msg_server_hello.cpp
+++ b/src/lib/tls/msg_server_hello.cpp
@@ -36,7 +36,7 @@ Server_Hello::Server_Hello(Handshake_IO& io,
RandomNumberGenerator& rng) :
m_version(ver),
m_session_id(session_id),
- m_random(make_hello_random(rng)),
+ m_random(make_hello_random(rng, policy)),
m_ciphersuite(ciphersuite),
m_comp_method(compression)
{