summaryrefslogtreecommitdiffstats
path: root/libssh/kex.c
diff options
context:
space:
mode:
Diffstat (limited to 'libssh/kex.c')
-rw-r--r--libssh/kex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libssh/kex.c b/libssh/kex.c
index 1e50eb1f..4bb7e389 100644
--- a/libssh/kex.c
+++ b/libssh/kex.c
@@ -315,7 +315,7 @@ SSH_PACKET_CALLBACK(ssh_packet_kexinit){
leave_function();
session->session_state=SSH_SESSION_STATE_KEXINIT_RECEIVED;
- ssh_connection_callback(session);
+ session->ssh_connection_callback(session);
return SSH_PACKET_USED;
error:
ssh_string_free(str);