mirror of
https://git.libssh.org/projects/libssh.git
synced 2025-12-12 15:41:16 +03:00
Fix warning
This commit is contained in:
@@ -164,6 +164,7 @@ SSH_PACKET_CALLBACK(ssh_packet_kexdh_init){
|
|||||||
#endif
|
#endif
|
||||||
default:
|
default:
|
||||||
ssh_set_error(session,SSH_FATAL,"Wrong kex type in ssh_packet_kexdh_init");
|
ssh_set_error(session,SSH_FATAL,"Wrong kex type in ssh_packet_kexdh_init");
|
||||||
|
rc = SSH_ERROR;
|
||||||
}
|
}
|
||||||
if (rc == SSH_ERROR)
|
if (rc == SSH_ERROR)
|
||||||
session->session_state = SSH_SESSION_STATE_ERROR;
|
session->session_state = SSH_SESSION_STATE_ERROR;
|
||||||
|
|||||||
Reference in New Issue
Block a user