-
Notifications
You must be signed in to change notification settings - Fork 366
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Simplify krb5_dbe_def_search_enctype()
Key data is now sorted in descending kvno order (since commit 44ad57d) and key enctypes can be compared with a simple equality test (since single-DES support was removed in commit fb2dada). Use these assumptions to simplify krb5_dbe_def_search_enctype(). The rewrite contains one probably-unnoticeable bugfix: if enctype, salttype, and kvno are all given as -1 in a repeated search, yield all key entries of permitted enctype, not just entries of the maximum kvno.
- Loading branch information
1 parent
7196c03
commit fcfb0e4
Showing
1 changed file
with
45 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters