summaryrefslogtreecommitdiffstats
path: root/include/libssh/gssapi.h
diff options
context:
space:
mode:
authorAris Adamantiadis <aris@0xbadc0de.be>2013-07-14 09:30:59 +0200
committerAris Adamantiadis <aris@0xbadc0de.be>2013-07-14 09:30:59 +0200
commitad92740dc324d16864f298924474882e0c3ec259 (patch)
tree4f9eb6582b1952d90838430412ce6baade5b5b88 /include/libssh/gssapi.h
parentbf5e5eebd7fd6cf83f211a4f0e427b9f1d8462c6 (diff)
downloadlibssh-ad92740dc324d16864f298924474882e0c3ec259.tar.gz
libssh-ad92740dc324d16864f298924474882e0c3ec259.tar.xz
libssh-ad92740dc324d16864f298924474882e0c3ec259.zip
server: Fix compilation without WITH_SERVER
Diffstat (limited to 'include/libssh/gssapi.h')
-rw-r--r--include/libssh/gssapi.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/libssh/gssapi.h b/include/libssh/gssapi.h
index ad85e94..ccd8366 100644
--- a/include/libssh/gssapi.h
+++ b/include/libssh/gssapi.h
@@ -31,13 +31,14 @@ typedef struct ssh_gssapi_struct *ssh_gssapi;
#ifdef WITH_SERVER
int ssh_gssapi_handle_userauth(ssh_session session, const char *user, uint32_t n_oid, ssh_string *oids);
-SSH_PACKET_CALLBACK(ssh_packet_userauth_gssapi_token);
SSH_PACKET_CALLBACK(ssh_packet_userauth_gssapi_token_server);
-SSH_PACKET_CALLBACK(ssh_packet_userauth_gssapi_token_client);
SSH_PACKET_CALLBACK(ssh_packet_userauth_gssapi_mic);
+#endif /* WITH_SERVER */
+
+SSH_PACKET_CALLBACK(ssh_packet_userauth_gssapi_token);
+SSH_PACKET_CALLBACK(ssh_packet_userauth_gssapi_token_client);
SSH_PACKET_CALLBACK(ssh_packet_userauth_gssapi_response);
-#endif /* WITH_SERVER */
int ssh_gssapi_auth_mic(ssh_session session);