Integrated: 8332524: Instead of printing "TLSv1.3," it is showing "TLS13"

Nibedita Jena duke at openjdk.org
Tue Jun 18 13:31:20 UTC 2024


On Mon, 17 Jun 2024 14:22:28 GMT, Nibedita Jena <duke at openjdk.org> wrote:

> While doing SSL/TLS connection, start the Client with protocol TLSv1.2 and Server with protocol TLSv1.3. During handshake process, the exception shows as "javax.net.ssl.SSLHandshakeException: The client supported protocol versions [TLSv1.2] are not accepted by server preferences [TLS13]", where printing as TLS13 and not formatted to TLSv1.3.
> 
> After the given change, the protocol version is correctly printing:
> javax.net.ssl.SSLHandshakeException: (protocol_version) The client supported protocol versions [TLSv1.2] are not accepted by server preferences [TLSv1.3]

This pull request has now been integrated.

Changeset: e681b4e9
Author:    nibjen <jena.nibedita at oracle.com>
Committer: Sean Mullan <mullan at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/e681b4e9b3ae24f45d8c6adab4105df39e6b8a92
Stats:     3 lines in 1 file changed: 0 ins; 0 del; 3 mod

8332524: Instead of printing "TLSv1.3," it is showing "TLS13"

Reviewed-by: mullan

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

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



More information about the security-dev mailing list