summaryrefslogtreecommitdiffstats
path: root/src/client.c
diff options
context:
space:
mode:
authorFabiano Fidêncio <fidencio@redhat.com>2015-09-17 13:32:44 +0200
committerFabiano Fidêncio <fidencio@redhat.com>2016-01-19 11:31:07 +0100
commite5eff384b2d4bcf5ea909b32e501c7bd64a94a5d (patch)
treec0f7c5a646b79975a6d1e1e4980c186edad43fb7 /src/client.c
parent48c1fb2c84b39250ce5f03af830c8bb482571b11 (diff)
downloadlibssh-e5eff384b2d4bcf5ea909b32e501c7bd64a94a5d.tar.gz
libssh-e5eff384b2d4bcf5ea909b32e501c7bd64a94a5d.tar.xz
libssh-e5eff384b2d4bcf5ea909b32e501c7bd64a94a5d.zip
cleanup: use ssh_ prefix in the kex (non-static) functions
Having "ssh_" prefix in the functions' name will avoid possible clashes when compiling libssh statically. Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com>
Diffstat (limited to 'src/client.c')
-rw-r--r--src/client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client.c b/src/client.c
index 64ce5dec..0c2b7e4f 100644
--- a/src/client.c
+++ b/src/client.c
@@ -399,7 +399,7 @@ static void ssh_client_connection_callback(ssh_session session){
case SSH_SESSION_STATE_KEXINIT_RECEIVED:
set_status(session,0.6f);
ssh_list_kex(&session->next_crypto->server_kex);
- if (set_client_kex(session) < 0) {
+ if (ssh_set_client_kex(session) < 0) {
goto error;
}
if (ssh_kex_select_methods(session) == SSH_ERROR)