mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-09 09:54:25 +09:00
client: Properly indicate fall through
Signed-off-by: Jakub Jelen <jjelen@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
committed by
Andreas Schneider
parent
e76332bbd6
commit
c45cfce166
@@ -451,7 +451,7 @@ static void ssh_client_connection_callback(ssh_session session)
|
|||||||
if (dh_handshake(session) == SSH_ERROR) {
|
if (dh_handshake(session) == SSH_ERROR) {
|
||||||
goto error;
|
goto error;
|
||||||
}
|
}
|
||||||
/* FALL THROUGH */
|
FALL_THROUGH;
|
||||||
case SSH_SESSION_STATE_DH:
|
case SSH_SESSION_STATE_DH:
|
||||||
if(session->dh_handshake_state==DH_STATE_FINISHED){
|
if(session->dh_handshake_state==DH_STATE_FINISHED){
|
||||||
set_status(session,1.0f);
|
set_status(session,1.0f);
|
||||||
|
|||||||
Reference in New Issue
Block a user