]> git.ipfire.org Git - thirdparty/krb5.git/commit
Adjust keytab kvno workarounds
authorGreg Hudson <ghudson@mit.edu>
Sun, 8 Mar 2015 20:52:11 +0000 (16:52 -0400)
committerGreg Hudson <ghudson@mit.edu>
Wed, 15 Apr 2015 04:38:00 +0000 (00:38 -0400)
commit73bdca02cd4c0f908affeea32a1693535955a766
tree255eb8fc7646528130584889901a8609cce9d7cd
parent54b4ccf510b67140caec76b12fff4b30462e7e50
Adjust keytab kvno workarounds

In krb5_ktfile_get_entry(), change the pivot and fuzzy match
workarounds for kvnos to work with the 32-bit kvno extension.  For the
pivot logic, try to recognize kvno wraparound at boundary by looking
at the relative timestamps and the size of the version difference.
For the fuzzy match logic, remember the first match against the low 8
bits of the desired kvno, but keep searching for an exact match.

ticket: 7532
src/lib/krb5/keytab/kt_file.c