# HG changeset patch # User jjiang # Date 1575007636 -28800 # Node ID e0d919d7c1a64cccccd7c20f8dcc4d6f2a165f87 # Parent f29e5cd27300dee8c5d11b6a82f76abcdbba4db7 8234724: javax/net/ssl/templates/SSLSocketSSLEngineTemplate.java supports TLSv1.3 Reviewed-by: xuelei diff -r f29e5cd27300 -r e0d919d7c1a6 test/jdk/javax/net/ssl/templates/SSLSocketSSLEngineTemplate.java --- a/test/jdk/javax/net/ssl/templates/SSLSocketSSLEngineTemplate.java Thu Nov 28 10:43:35 2019 -0800 +++ b/test/jdk/javax/net/ssl/templates/SSLSocketSSLEngineTemplate.java Fri Nov 29 14:07:16 2019 +0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2011, 2019, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -124,7 +124,6 @@ private static final String pathToStores = "../etc"; private static final String keyStoreFile = "keystore"; private static final String trustStoreFile = "truststore"; - private static final String passwd = "passphrase"; private static final String keyFilename = System.getProperty("test.src", ".") + "/" + pathToStores + "/" + keyStoreFile; @@ -146,7 +145,7 @@ } String [] protocols = new String [] { - "SSLv3", "TLSv1", "TLSv1.1", "TLSv1.2" }; + "SSLv3", "TLSv1", "TLSv1.1", "TLSv1.2", "TLSv1.3" }; for (String protocol : protocols) { log("Testing " + protocol);