aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo_tls.c
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2016-11-08 10:33:03 +0100
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2016-11-09 00:20:29 +0100
commit13f397c68c33cb7296f26a713d629b2d1b8fef08 (patch)
treedc0c0ef60d11f7fc27f4cf4ea1c2212e551c4fd6 /src/osmo_tls.c
parent0381276993737708b061905959ab3e57523631fd (diff)
client: Prepare to have multiple server connections
Take out various fields into a new connection class. We will have the option to connect to multiple servers. Change-Id: I820176d133fbdb0240a16eb4e1a6d505e5c080c6
Diffstat (limited to 'src/osmo_tls.c')
-rw-r--r--src/osmo_tls.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/osmo_tls.c b/src/osmo_tls.c
index aeecf6d..2cb1a87 100644
--- a/src/osmo_tls.c
+++ b/src/osmo_tls.c
@@ -281,7 +281,7 @@ int osmo_tls_client_bfd_cb(struct osmo_fd *fd, unsigned what)
return 0;
}
-static int load_keys(struct osmo_pcap_client *client)
+static int load_keys(struct osmo_pcap_client_conn *client)
{
struct osmo_tls_session *sess = &client->tls_session;
gnutls_datum_t data;
@@ -443,7 +443,7 @@ bool osmo_tls_init_server_session(struct osmo_pcap_conn *conn,
return true;
}
-bool osmo_tls_init_client_session(struct osmo_pcap_client *client)
+bool osmo_tls_init_client_session(struct osmo_pcap_client_conn *client)
{
struct osmo_tls_session *sess = &client->tls_session;
struct osmo_wqueue *wq = &client->wqueue;