From: basney Date: Mon, 31 Aug 2009 18:59:10 +0000 (+0000) Subject: wrap new GSSAPI code (from Simon) in #ifdef GSSAPI X-Git-Tag: OPENSSH_5_2P1_GSSAPI_20090831~2 X-Git-Url: http://andersk.mit.edu/gitweb/gssapi-openssh.git/commitdiff_plain/071d8001c928b4929a48dada8d855ebe014b3792 wrap new GSSAPI code (from Simon) in #ifdef GSSAPI --- diff --git a/openssh/clientloop.c b/openssh/clientloop.c index c516e76..2715027 100644 --- a/openssh/clientloop.c +++ b/openssh/clientloop.c @@ -1434,11 +1434,13 @@ client_loop(int have_pty, int escape_char_arg, int ssh2_chan_id) if (!rekeying) { channel_after_select(readset, writeset); +#ifdef GSSAPI if (options.gss_renewal_rekey && ssh_gssapi_credentials_updated(GSS_C_NO_CONTEXT)) { debug("credentials updated - forcing rekey"); need_rekeying = 1; } +#endif if (need_rekeying || packet_need_rekeying()) { debug("need rekeying");