aboutsummaryrefslogtreecommitdiff
path: root/src/server.c
diff options
context:
space:
mode:
authorAris Adamantiadis <aris@0xbadc0de.be>2011-09-24 14:08:52 +0200
committerAris Adamantiadis <aris@0xbadc0de.be>2011-09-24 14:08:52 +0200
commit5c19cda28031e541ffd47d300a630c99f0425594 (patch)
treecbea0c8f7e77073b235e0669c3b4a286e5d2ed06 /src/server.c
parente38f2f933b3f091fa4d9beed917e31f82bcf6a1c (diff)
downloadlibssh-5c19cda28031e541ffd47d300a630c99f0425594.tar.gz
libssh-5c19cda28031e541ffd47d300a630c99f0425594.tar.xz
libssh-5c19cda28031e541ffd47d300a630c99f0425594.zip
Fix warning
Diffstat (limited to 'src/server.c')
-rw-r--r--src/server.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/server.c b/src/server.c
index 054e435e..a14d66e1 100644
--- a/src/server.c
+++ b/src/server.c
@@ -164,6 +164,7 @@ SSH_PACKET_CALLBACK(ssh_packet_kexdh_init){
#endif
default:
ssh_set_error(session,SSH_FATAL,"Wrong kex type in ssh_packet_kexdh_init");
+ rc = SSH_ERROR;
}
if (rc == SSH_ERROR)
session->session_state = SSH_SESSION_STATE_ERROR;