mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 23:34:52 +02:00
8262389: Use permitted_enctypes if default_tkt_enctypes or default_tgs_enctypes is not present
Reviewed-by: mullan
This commit is contained in:
parent
bfb034abf9
commit
eb5c097b6d
2 changed files with 60 additions and 0 deletions
|
@ -979,6 +979,9 @@ public class Config {
|
|||
public int[] defaultEtype(String configName) throws KrbException {
|
||||
String default_enctypes;
|
||||
default_enctypes = get("libdefaults", configName);
|
||||
if (default_enctypes == null && !configName.equals("permitted_enctypes")) {
|
||||
default_enctypes = get("libdefaults", "permitted_enctypes");
|
||||
}
|
||||
int[] etype;
|
||||
if (default_enctypes == null) {
|
||||
if (DEBUG) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue