diff --git a/ssh2kex-client.c b/ssh2kex-client.c index 1192a26a..64ec0331 100644 --- a/ssh2kex-client.c +++ b/ssh2kex-client.c @@ -412,9 +412,6 @@ void ssh2kex_coroutine(struct ssh2_transport_state *s, bool *aborted) data = get_string(pktin); s->mic.value = (char *)data.ptr; s->mic.length = data.len; - /* Save expiration time of cred when delegating */ - if (s->gss_delegate && s->gss_cred_expiry != GSS_NO_EXPIRATION) - s->gss_cred_expiry = s->gss_cred_expiry; /* If there's a final token we loop to consume it */ if (get_bool(pktin)) { data = get_string(pktin);