diff options
Diffstat (limited to 'clientloop.c')
-rw-r--r-- | clientloop.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/clientloop.c b/clientloop.c index 9ab56b44c..cbbb3df1f 100644 --- a/clientloop.c +++ b/clientloop.c | |||
@@ -111,6 +111,10 @@ | |||
111 | #include "msg.h" | 111 | #include "msg.h" |
112 | #include "roaming.h" | 112 | #include "roaming.h" |
113 | 113 | ||
114 | #ifdef GSSAPI | ||
115 | #include "ssh-gss.h" | ||
116 | #endif | ||
117 | |||
114 | /* import options */ | 118 | /* import options */ |
115 | extern Options options; | 119 | extern Options options; |
116 | 120 | ||
@@ -1431,6 +1435,15 @@ client_loop(int have_pty, int escape_char_arg, int ssh2_chan_id) | |||
1431 | /* Do channel operations unless rekeying in progress. */ | 1435 | /* Do channel operations unless rekeying in progress. */ |
1432 | if (!rekeying) { | 1436 | if (!rekeying) { |
1433 | channel_after_select(readset, writeset); | 1437 | channel_after_select(readset, writeset); |
1438 | |||
1439 | #ifdef GSSAPI | ||
1440 | if (options.gss_renewal_rekey && | ||
1441 | ssh_gssapi_credentials_updated(GSS_C_NO_CONTEXT)) { | ||
1442 | debug("credentials updated - forcing rekey"); | ||
1443 | need_rekeying = 1; | ||
1444 | } | ||
1445 | #endif | ||
1446 | |||
1434 | if (need_rekeying || packet_need_rekeying()) { | 1447 | if (need_rekeying || packet_need_rekeying()) { |
1435 | debug("need rekeying"); | 1448 | debug("need rekeying"); |
1436 | xxx_kex->done = 0; | 1449 | xxx_kex->done = 0; |