Skip to content

Commit

Permalink
init tls_callbacks, rand_gen for wss_trsp_socket
Browse files Browse the repository at this point in the history
  • Loading branch information
Igor Ponomarenko committed Oct 25, 2024
1 parent 212056c commit b9c83b3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/sip/tls_trsp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,9 @@ tls_trsp_socket::tls_trsp_socket(
trsp_socket::socket_transport transport,
event_base* evbase, trsp_input* input)
: tcp_base_trsp(server_sock, server_worker, sd, sa, transport, evbase, input),
tls_callbacks(std::make_shared<BotanTLSCallbacksProxy>(*this)),
tls_connected(false),
rand_gen(std::make_shared<Botan::System_RNG>()),
settings(std::make_shared<tls_conf>(getTlsSetting(
sd, server_sock->get_if(), server_sock->get_proto_idx())))
{
Expand Down

0 comments on commit b9c83b3

Please sign in to comment.