1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2025-11-29 01:03:57 +03:00

gassapi: Fix check if it is enabled.

This commit is contained in:
Andreas Schneider
2013-07-22 10:26:42 +02:00
parent 329f4da1e1
commit da1eaea51a
3 changed files with 5 additions and 5 deletions

View File

@@ -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);
}