aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo_server_main.c
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2016-09-06 20:27:32 +0200
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2016-09-08 16:17:02 +0200
commitcf29fd7069948668891a620facfbea6dda194496 (patch)
tree9d9ef3bf3d12d5e45bc27c6e7f75d57c705d67b1 /src/osmo_server_main.c
parentff3314e45c89b436ccc7ea48361b36df39be5458 (diff)
server: Add vty interface for the TLS configuration
Make the priority configurable, load DH params, allow to specify certificates or anonymous operations. Change-Id: I8ec3c0f8e1ee2089e1b7dacd9de842260930032f
Diffstat (limited to 'src/osmo_server_main.c')
-rw-r--r--src/osmo_server_main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/osmo_server_main.c b/src/osmo_server_main.c
index 27fb519..37a9632 100644
--- a/src/osmo_server_main.c
+++ b/src/osmo_server_main.c
@@ -247,6 +247,8 @@ int main(int argc, char **argv)
exit(1);
}
+ osmo_tls_server_init(pcap_server);
+
/* attempt to connect to the remote */
if (osmo_pcap_server_listen(pcap_server) != 0) {
LOGP(DSERVER, LOGL_ERROR,