diff options
author | Andreas Schneider <asn@cryptomilk.org> | 2013-07-22 10:26:42 +0200 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2013-07-22 10:42:30 +0200 |
commit | da1eaea51a83552f129425bd7b6e4c98aedd9564 (patch) | |
tree | 0b3085e6f1a505271325462a306fb02504bda091 /src/messages.c | |
parent | 329f4da1e19adfe53a835116d4a45217b746a82e (diff) | |
download | libssh-da1eaea51a83552f129425bd7b6e4c98aedd9564.tar.gz libssh-da1eaea51a83552f129425bd7b6e4c98aedd9564.tar.xz libssh-da1eaea51a83552f129425bd7b6e4c98aedd9564.zip |
gassapi: Fix check if it is enabled.
Diffstat (limited to 'src/messages.c')
-rw-r--r-- | src/messages.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/messages.c b/src/messages.c index cb38bc6a..003ecf8e 100644 --- a/src/messages.c +++ b/src/messages.c @@ -859,7 +859,7 @@ SSH_PACKET_CALLBACK(ssh_packet_userauth_request){ } goto end; } -#if WITH_GSSAPI +#ifdef WITH_GSSAPI if (strncmp(method, "gssapi-with-mic", method_size) == 0) { uint32_t n_oid; ssh_string *oids; @@ -953,7 +953,7 @@ SSH_PACKET_CALLBACK(ssh_packet_userauth_info_response){ ssh_message msg = NULL; /* GSSAPI_TOKEN has same packed number. XXX fix this */ -#if WITH_GSSAPI +#ifdef WITH_GSSAPI if (session->gssapi != NULL) { return ssh_packet_userauth_gssapi_token(session, type, packet, user); } |