test/jdk/sun/security/ssl/SSLEngineImpl/RehandshakeFinished.java
changeset 50768 68fa3d4026ea
parent 47216 71c04702a3d5
--- a/test/jdk/sun/security/ssl/SSLEngineImpl/RehandshakeFinished.java	Mon Jun 25 21:22:16 2018 +0300
+++ b/test/jdk/sun/security/ssl/SSLEngineImpl/RehandshakeFinished.java	Mon Jun 25 13:41:39 2018 -0700
@@ -160,7 +160,7 @@
                 TrustManagerFactory.getInstance("SunX509");
             tmf.init(ts);
 
-            SSLContext sslCtx = SSLContext.getInstance("TLS");
+            SSLContext sslCtx = SSLContext.getInstance("TLSv1.2");
             sslCtx.init(kmf.getKeyManagers(), tmf.getTrustManagers(), null);
             sslc = sslCtx;
         } catch (Exception e) {