diff --git a/lib/krb5/rd_req.c b/lib/krb5/rd_req.c index 6a656a8f7..21daeb596 100644 --- a/lib/krb5/rd_req.c +++ b/lib/krb5/rd_req.c @@ -985,8 +985,7 @@ krb5_rd_req_ctx(krb5_context context, goto out; } - if (entry.keyblock.keytype != ap_req.ticket.enc_part.etype || - (kvno && kvno != entry.vno)) { + if (entry.keyblock.keytype != ap_req.ticket.enc_part.etype) { krb5_kt_free_entry (context, &entry); continue; }