From 164355b1d889484fb48912fdf7f9a4c00916a13c Mon Sep 17 00:00:00 2001 From: lutkerd Date: Tue, 14 May 2024 03:50:36 +0000 Subject: [PATCH] Re-enable DTLS1.0 --- src/java.base/share/conf/security/java.security | 2 +- .../jdk/sun/security/ssl/SSLContextImpl/SSLContextDefault.java | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/java.base/share/conf/security/java.security b/src/java.base/share/conf/security/java.security index c5cdb6d3e2..d7af0574c3 100644 --- a/src/java.base/share/conf/security/java.security +++ b/src/java.base/share/conf/security/java.security @@ -756,7 +756,7 @@ jdk.jar.disabledAlgorithms=MD2, MD5, RSA keySize < 1024, \ # Example: # jdk.tls.disabledAlgorithms=MD5, SSLv3, DSA, RSA keySize < 2048 # rsa_pkcs1_sha1, secp224r1 -jdk.tls.disabledAlgorithms=SSLv3, DTLSv1.0, RC4, DES, \ +jdk.tls.disabledAlgorithms=SSLv3, RC4, DES, \ MD5withRSA, DH keySize < 1024, EC keySize < 224, 3DES_EDE_CBC, anon, NULL, \ include jdk.disabled.namedCurves diff --git a/test/jdk/sun/security/ssl/SSLContextImpl/SSLContextDefault.java b/test/jdk/sun/security/ssl/SSLContextImpl/SSLContextDefault.java index 1c56576528..86aac76309 100644 --- a/test/jdk/sun/security/ssl/SSLContextImpl/SSLContextDefault.java +++ b/test/jdk/sun/security/ssl/SSLContextImpl/SSLContextDefault.java @@ -48,11 +48,10 @@ public class SSLContextDefault { }; private static final List disabledTlsProtocols = List.of( - "SSLv3"" + "SSLv3" ); private static final List disabledDtlsProtocols = List.of( - "DTLSv1.0" ); public static void main(String[] args) throws Exception {