summaryrefslogtreecommitdiff
path: root/net-misc/openssh-x/files/openssh-5.2_p1-gsskex-fix.patch
blob: 8112d6252f257f060286fc27c913852055a63874 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- clientloop.c
+++ clientloop.c
@@ -1434,11 +1434,13 @@
 		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");