summaryrefslogtreecommitdiff
path: root/clientloop.c
diff options
context:
space:
mode:
Diffstat (limited to 'clientloop.c')
-rw-r--r--clientloop.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/clientloop.c b/clientloop.c
index c19b01f19..17628efb5 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 */
115extern Options options; 119extern Options options;
116 120
@@ -1508,6 +1512,15 @@ client_loop(int have_pty, int escape_char_arg, int ssh2_chan_id)
1508 /* Do channel operations unless rekeying in progress. */ 1512 /* Do channel operations unless rekeying in progress. */
1509 if (!rekeying) { 1513 if (!rekeying) {
1510 channel_after_select(readset, writeset); 1514 channel_after_select(readset, writeset);
1515
1516#ifdef GSSAPI
1517 if (options.gss_renewal_rekey &&
1518 ssh_gssapi_credentials_updated(GSS_C_NO_CONTEXT)) {
1519 debug("credentials updated - forcing rekey");
1520 need_rekeying = 1;
1521 }
1522#endif
1523
1511 if (need_rekeying || packet_need_rekeying()) { 1524 if (need_rekeying || packet_need_rekeying()) {
1512 debug("need rekeying"); 1525 debug("need rekeying");
1513 xxx_kex->done = 0; 1526 xxx_kex->done = 0;