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

Sean Mullan mullan at openjdk.org
Tue Jun 18 13:21:09 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]

The JBS issue should have a `noreg` label, probably `noreg-trivial` is ok. Looks good otherwise.

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

Marked as reviewed by mullan (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/19749#pullrequestreview-2125501098



More information about the security-dev mailing list