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

@@ -289,7 +289,7 @@ SSH_PACKET_CALLBACK(ssh_packet_userauth_pk_ok){
SSH_LOG(SSH_LOG_TRACE,
"keyboard-interactive context, assuming SSH_USERAUTH_INFO_REQUEST");
rc=ssh_packet_userauth_info_request(session,type,packet,user);
#if WITH_GSSAPI
#ifdef WITH_GSSAPI
} else if (session->auth_state == SSH_AUTH_STATE_GSSAPI_REQUEST_SENT){
rc = ssh_packet_userauth_gssapi_response(session, type, packet, user);
#endif
@@ -2123,7 +2123,7 @@ int ssh_userauth_kbdint_setanswer(ssh_session session, unsigned int i,
*/
int ssh_userauth_gssapi(ssh_session session) {
int rc = SSH_AUTH_DENIED;
#if WITH_GSSAPI
#ifdef WITH_GSSAPI
switch(session->pending_call_state) {
case SSH_PENDING_CALL_NONE:
break;