aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAris Adamantiadis <aris@0xbadc0de.be>2013-07-14 09:35:30 +0200
committerAris Adamantiadis <aris@0xbadc0de.be>2013-07-14 09:35:30 +0200
commit365a3bba6e1f8d64117c5851285a3e2285dfd824 (patch)
treee6c251f605808ca50482c1ae49b8fd1f059427b0
parente95e3b5736b5c50a0345ec5d5256e8caf09c9acf (diff)
downloadlibssh-365a3bba6e1f8d64117c5851285a3e2285dfd824.tar.gz
libssh-365a3bba6e1f8d64117c5851285a3e2285dfd824.tar.xz
libssh-365a3bba6e1f8d64117c5851285a3e2285dfd824.zip
auth: fix warnings with missing switch() params
-rw-r--r--src/auth.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/auth.c b/src/auth.c
index 30ee57b8..07cbbd28 100644
--- a/src/auth.c
+++ b/src/auth.c
@@ -135,7 +135,10 @@ static int ssh_userauth_get_response(ssh_session session) {
case SSH_AUTH_STATE_SUCCESS:
rc = SSH_AUTH_SUCCESS;
break;
- case SSH_AUTH_STATE_KBDINT_SENT:
+ case SSH_AUTH_STATE_KBDINT_SENT:
+ case SSH_AUTH_STATE_GSSAPI_REQUEST_SENT:
+ case SSH_AUTH_STATE_GSSAPI_TOKEN:
+ case SSH_AUTH_STATE_GSSAPI_MIC_SENT:
case SSH_AUTH_STATE_NONE:
/* not reached */
rc = SSH_AUTH_ERROR;