aboutsummaryrefslogtreecommitdiffstats
path: root/src/tls/tls_server.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2012-07-05 15:09:33 +0000
committerlloyd <[email protected]>2012-07-05 15:09:33 +0000
commit2f94d5c85d3eb05a3d2f83e7783fb8d1bc2d5536 (patch)
tree03c2dfe5bc79f9c753a7b24086e811c641e0f6b3 /src/tls/tls_server.cpp
parentefa00d7ffddc9a41b1fe74ed863bc7debfc44359 (diff)
Record_Writer needs a PRNG for the IV generation. Share the reference
with the channel object instead of calling the global object.
Diffstat (limited to 'src/tls/tls_server.cpp')
-rw-r--r--src/tls/tls_server.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tls/tls_server.cpp b/src/tls/tls_server.cpp
index 91596b065..d2a51fabd 100644
--- a/src/tls/tls_server.cpp
+++ b/src/tls/tls_server.cpp
@@ -192,7 +192,7 @@ Server::Server(std::function<void (const byte[], size_t)> output_fn,
const Policy& policy,
RandomNumberGenerator& rng,
const std::vector<std::string>& next_protocols) :
- Channel(output_fn, proc_fn, handshake_fn, session_manager),
+ Channel(output_fn, proc_fn, handshake_fn, session_manager, rng),
m_policy(policy),
m_rng(rng),
m_creds(creds),