aboutsummaryrefslogtreecommitdiff
path: root/src/gssapi.c
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2016-10-06 18:36:54 +0200
committerAndreas Schneider <asn@cryptomilk.org>2016-10-06 18:36:54 +0200
commit83421c0e8cb30adfe9d459d74822a9bf7fdb99ba (patch)
tree9ff2c19861c214bacbf98edc09e8acbe7a77315a /src/gssapi.c
parent095733ed9cb96639dfcfa7b5e4f67ed57cec7a88 (diff)
downloadlibssh-83421c0e8cb30adfe9d459d74822a9bf7fdb99ba.tar.gz
libssh-83421c0e8cb30adfe9d459d74822a9bf7fdb99ba.tar.xz
libssh-83421c0e8cb30adfe9d459d74822a9bf7fdb99ba.zip
gssapi: Use correct return code in ssh_gssapi_auth_mic()
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'src/gssapi.c')
-rw-r--r--src/gssapi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gssapi.c b/src/gssapi.c
index d61d035e..ddbf45df 100644
--- a/src/gssapi.c
+++ b/src/gssapi.c
@@ -716,7 +716,7 @@ int ssh_gssapi_auth_mic(ssh_session session){
"importing name",
maj_stat,
min_stat);
- return SSH_PACKET_USED;
+ return SSH_AUTH_DENIED;
}
/* copy username */