aboutsummaryrefslogtreecommitdiff
path: root/src/gssapi.c
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2013-07-25 10:01:38 +0200
committerAndreas Schneider <asn@cryptomilk.org>2013-07-25 10:01:38 +0200
commit38420bff764c8a6d64a029746e68df9792356a0d (patch)
tree8a42f599fc3896a3619e7ddc1a487279e7355492 /src/gssapi.c
parent1444d62d96d13e8b1b326599567bb69582d24356 (diff)
downloadlibssh-38420bff764c8a6d64a029746e68df9792356a0d.tar.gz
libssh-38420bff764c8a6d64a029746e68df9792356a0d.tar.xz
libssh-38420bff764c8a6d64a029746e68df9792356a0d.zip
gssapi: Fix a build warning if we build without server support.
Diffstat (limited to 'src/gssapi.c')
-rw-r--r--src/gssapi.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/gssapi.c b/src/gssapi.c
index 3687cfca..c92c66cb 100644
--- a/src/gssapi.c
+++ b/src/gssapi.c
@@ -258,9 +258,7 @@ int ssh_gssapi_handle_userauth(ssh_session session, const char *user, uint32_t n
return ssh_gssapi_send_response(session, oids[i]);
}
-#endif /* WITH_SERVER */
-
-static char * ssh_gssapi_name_to_char(gss_name_t name){
+static char *ssh_gssapi_name_to_char(gss_name_t name){
gss_buffer_desc buffer;
OM_uint32 maj_stat, min_stat;
char *ptr;
@@ -274,8 +272,6 @@ static char * ssh_gssapi_name_to_char(gss_name_t name){
}
-#ifdef WITH_SERVER
-
SSH_PACKET_CALLBACK(ssh_packet_userauth_gssapi_token_server){
ssh_string token;
char *hexa;