session UPDATE rename transport implementations
diff --git a/src/session_client.c b/src/session_client.c
index 22e3313..5aed2dc 100644
--- a/src/session_client.c
+++ b/src/session_client.c
@@ -1851,9 +1851,9 @@
return -1;
}
- if (client_opts.ch_binds_aux[idx].ti == NC_TI_LIBSSH) {
+ if (client_opts.ch_binds_aux[idx].ti == NC_TI_SSH) {
*session = nc_accept_callhome_ssh_sock(sock, host, port, ctx, NC_TRANSPORT_TIMEOUT);
- } else if (client_opts.ch_binds_aux[idx].ti == NC_TI_OPENSSL) {
+ } else if (client_opts.ch_binds_aux[idx].ti == NC_TI_TLS) {
*session = nc_accept_callhome_tls_sock(sock, host, port, ctx, NC_TRANSPORT_TIMEOUT,
client_opts.ch_binds_aux[idx].hostname);
} else {