]> andersk Git - gssapi-openssh.git/commitdiff
wrap new GSSAPI code (from Simon) in #ifdef GSSAPI
authorbasney <basney>
Mon, 31 Aug 2009 18:59:10 +0000 (18:59 +0000)
committerbasney <basney>
Mon, 31 Aug 2009 18:59:10 +0000 (18:59 +0000)
openssh/clientloop.c

index c516e76a491617cec61e1cc0fe1a6508dd994eb2..27150277bf8734c4dac40f135bcd5c197d335119 100644 (file)
@@ -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");
This page took 0.044692 seconds and 5 git commands to generate.