[jdk21u-dev] Integrated: 8311546: Certificate name constraints improperly validated with leading period

Aleksey Shipilev shade at openjdk.org
Mon Jan 20 09:06:42 UTC 2025


On Wed, 18 Dec 2024 15:56:26 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

> Backporting this due to wider customer interest in aligning JDK behavior with other SSL implementations. Both patches apply cleanly. First patch does the fix. Second patch fixes the test.
> 
> Additional testing:
>  - [x] macos-aarch64-server-release, new test fails without the change, passes with it
>  - [x] macos-aarch64-server-release, `sun/security/x509/`
>  - [x] linux-x86_64-server-release, `jdk_security`

This pull request has now been integrated.

Changeset: 99a92991
Author:    Aleksey Shipilev <shade at openjdk.org>
URL:       https://git.openjdk.org/jdk21u-dev/commit/99a9299150e0130fa01c8400800d41b0b537d032
Stats:     265 lines in 8 files changed: 256 ins; 6 del; 3 mod

8311546: Certificate name constraints improperly validated with leading period
8320372: test/jdk/sun/security/x509/DNSName/LeadingPeriod.java validity check failed
8347424: Fix and rewrite sun/security/x509/DNSName/LeadingPeriod.java test

Reviewed-by: simonis
Backport-of: bfaf5704e7e71f968b716b5f448860e9cda721b4

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

PR: https://git.openjdk.org/jdk21u-dev/pull/1268


More information about the jdk-updates-dev mailing list