RFR: 8298874: Update TestAllSuites.java for TLS v1.2 and 1.3

Rajan Halade rhalade at openjdk.org
Thu Jan 26 18:37:21 UTC 2023


On Fri, 23 Dec 2022 17:08:03 GMT, Matthew Donovan <duke at openjdk.org> wrote:

> * updated test for new TLS protocols and ciphersuites
> * code cleanup

test/jdk/javax/net/ssl/SSLEngine/TestAllSuites.java line 2:

> 1: /*
> 2:  * Copyright (c) 2003, 2022, Oracle and/or its affiliates. All rights reserved.

update to 2023

test/jdk/javax/net/ssl/SSLEngine/TestAllSuites.java line 333:

> 331: 
> 332:     enum SupportedCipherSuites {
> 333:         TLSv11("TLSv1.1", new String []{

Instead of this can we not continue with old approach of using `SSLEngine.getSupportedCipherSuites` and ignore not applicable suites?

-------------

PR: https://git.openjdk.org/jdk/pull/11780



More information about the security-dev mailing list