summaryrefslogtreecommitdiffstats
path: root/libssh/kex.c
diff options
context:
space:
mode:
Diffstat (limited to 'libssh/kex.c')
-rw-r--r--libssh/kex.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libssh/kex.c b/libssh/kex.c
index f63dbf2..9838a7c 100644
--- a/libssh/kex.c
+++ b/libssh/kex.c
@@ -497,6 +497,7 @@ int ssh_get_kex1(SSH_SESSION *session){
}
session->current_crypto=session->next_crypto;
session->next_crypto=NULL;
+ ssh_log(session,SSH_LOG_PROTOCOL,"Waiting for a SSH_SMSG_SUCCESS");
if(packet_wait(session,SSH_SMSG_SUCCESS,1)){
char buffer[1024];
snprintf(buffer,sizeof(buffer),"Key exchange failed : %s",ssh_get_error(session));