diff options
author | lloyd <[email protected]> | 2012-07-05 15:09:33 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2012-07-05 15:09:33 +0000 |
commit | 2f94d5c85d3eb05a3d2f83e7783fb8d1bc2d5536 (patch) | |
tree | 03c2dfe5bc79f9c753a7b24086e811c641e0f6b3 /src/tls/tls_server.cpp | |
parent | efa00d7ffddc9a41b1fe74ed863bc7debfc44359 (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.cpp | 2 |
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), |