RFR: 8311546: Certificate name constraints improperly validated with leading period

Sean Mullan mullan at openjdk.org
Fri Oct 27 13:04:32 UTC 2023


On Fri, 20 Oct 2023 20:52:13 GMT, Ben Perez <duke at openjdk.org> wrote:

> Updated the `constrains` method in `DNSName.java` to accept certificates with a leading period.

test/jdk/sun/security/x509/DNSName/LeadingPeriod.java line 24:

> 22:  */
> 23: 
> 24: /* @test

Nit, change to:


/*
 * @test

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

PR Review Comment: https://git.openjdk.org/jdk/pull/16295#discussion_r1374544912



More information about the security-dev mailing list