[jdk17u-dev] RFR: 8277307: Pre shared key sent under both session_ticket and pre_shared_key extensions

Severin Gehwolf sgehwolf at openjdk.org
Thu Nov 16 18:11:41 UTC 2023


On Mon, 6 Nov 2023 11:40:10 GMT, Francisco Ferrari Bihurriet <fferrari at openjdk.org> wrote:

> Requesting backport for parity with 17.0.11-oracle.

> > Please mention what kind of testing you have done for this. Thanks!
> 
> Hi @jerboaa, I was relying on GH actions catching any regression. But now that you mentioned, I'm realizing that the test extended by this backport to assert the _TLS1.2 session ticket_ is empty when negotiating _TLS 1.3_ isn't included ([`ResumeTLS13withSNI.java`](https://github.com/openjdk/jdk17u-dev/blob/785e85184b927c5672f7330f35900f14e554b1e4/test/jdk/javax/net/ssl/SSLSession/ResumeTLS13withSNI.java)).
> 
> So I ran the whole `test/jdk/javax/net/ssl` category including it, along with other 180 tests. It passed 100% with a [785e851](https://github.com/openjdk/jdk17u-dev/commit/785e85184b927c5672f7330f35900f14e554b1e4) _Linux_ release build. I've also debugged `ResumeTLS13withSNI.java` to ensure the new assertion is exercised.

Thanks. That's always good to know and a good habit to include in "Fix Request" comments.

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

PR Comment: https://git.openjdk.org/jdk17u-dev/pull/1946#issuecomment-1814981897


More information about the jdk-updates-dev mailing list