1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2026-01-06 14:21:55 +03:00

client: Add missing break, remove useless return

Signed-off-by: Tilo Eckert <tilo.eckert@flam.de>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
Reviewed-by: Jakub Jelen <jjelen@redhat.com>
This commit is contained in:
Tilo Eckert
2019-02-18 12:47:56 +01:00
committed by Andreas Schneider
parent eb032e0dec
commit 702a6e7695

View File

@@ -279,10 +279,7 @@ static int dh_handshake(ssh_session session) {
rc = SSH_ERROR;
}
if (rc == SSH_ERROR) {
return SSH_ERROR;
}
break;
case DH_STATE_INIT_SENT:
/* wait until ssh_packet_dh_reply is called */
break;