< prev index next >

src/java.base/share/classes/sun/security/ssl/SSLCipher.java

Print this page

        

*** 407,417 **** // Map of Ciphers listed in jdk.tls.keyLimits private static final HashMap<String, Long> cipherLimits = new HashMap<>(); // Keywords found on the jdk.tls.keyLimits security property. ! final static String tag[] = {"KEYUPDATE"}; static { final long max = 4611686018427387904L; // 2^62 String prop = AccessController.doPrivileged( new PrivilegedAction<String>() { --- 407,417 ---- // Map of Ciphers listed in jdk.tls.keyLimits private static final HashMap<String, Long> cipherLimits = new HashMap<>(); // Keywords found on the jdk.tls.keyLimits security property. ! final static String[] tag = {"KEYUPDATE"}; static { final long max = 4611686018427387904L; // 2^62 String prop = AccessController.doPrivileged( new PrivilegedAction<String>() {
*** 420,435 **** return Security.getProperty("jdk.tls.keyLimits"); } }); if (prop != null) { ! String propvalue[] = prop.split(","); for (String entry : propvalue) { int index; // If this is not a UsageLimit, goto to next entry. ! String values[] = entry.trim().toUpperCase().split(" "); if (values[1].contains(tag[0])) { index = 0; } else { if (SSLLogger.isOn && SSLLogger.isOn("ssl")) { --- 420,435 ---- return Security.getProperty("jdk.tls.keyLimits"); } }); if (prop != null) { ! String[] propvalue = prop.split(","); for (String entry : propvalue) { int index; // If this is not a UsageLimit, goto to next entry. ! String[] values = entry.trim().toUpperCase().split(" "); if (values[1].contains(tag[0])) { index = 0; } else { if (SSLLogger.isOn && SSLLogger.isOn("ssl")) {
< prev index next >