Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
kdc: get_pa_etype_info_both comply with RFC4120
Heimdal's current behavior regarding the generation of PA-ETYPE-INFO2 and PA-ETYPE-INFO violates RFC4120 in two ways: 1. when generating responding both PA-ETYPE-INFO2 and PA-ETYPE-INFO the hints returned in the inverse order: INFO then INFO2 instead of INFO2 then INFO. 2. the determination that both PA-ETYPE-INFO2 and PA-ETYPE-INFO is currently based upon the KDC selected enctype when it should be determine based upon examining the entire enctype list specified by the requesting client. This change corrects the behavior to follow the RFC4120 guidance. Change-Id: I6ebda8a813c25f9296f10314e32e93a22380ca72
- Loading branch information
Showing
1 changed file
with
39 additions
and
11 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