changeset 57146:e0d919d7c1a6

8234724: javax/net/ssl/templates/SSLSocketSSLEngineTemplate.java supports TLSv1.3 Reviewed-by: xuelei
author jjiang
date Fri, 29 Nov 2019 14:07:16 +0800
parents f29e5cd27300
children 753ab8dcdbba
files test/jdk/javax/net/ssl/templates/SSLSocketSSLEngineTemplate.java
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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);