|
@@ -82,6 +82,7 @@
|
|
|
#include "core/or/or_connection_st.h"
|
|
|
#include "core/or/port_cfg_st.h"
|
|
|
#include "core/or/scheduler.h"
|
|
|
+#include "core/or/channeltls.h"
|
|
|
|
|
|
#ifdef HAVE_UNISTD_H
|
|
|
#include <unistd.h>
|
|
@@ -1137,6 +1138,9 @@ run_tor_main_loop(void)
|
|
|
initialize_mainloop_events();
|
|
|
scheduler_attach_mainloop();
|
|
|
|
|
|
+ channel_tls_start_listener();
|
|
|
+ command_setup_listener(channel_tls_get_listener());
|
|
|
+
|
|
|
/* load the private keys, if we're supposed to have them, and set up the
|
|
|
* TLS context. */
|
|
|
if (! client_identity_key_is_set()) {
|