RFR: 8261472: BasicConstraintsExtension::toString shows "PathLen:2147483647" if there is no pathLenConstraint

Weijun Wang weijun at openjdk.java.net
Wed Feb 10 14:47:40 UTC 2021


On Wed, 10 Feb 2021 01:52:21 GMT, Jamil Nimeh <jnimeh at openjdk.org> wrote:

>> Print out "no limit" instead. This is the words RFC 5280 uses: "Where pathLenConstraint does not appear, no limit is imposed".
>> 
>> No regression test. Trivial.
>
> Looks fine to me.

> Sorry - not quite right, it's not quite that trivial a fix.

Thanks for all the points. I've filed https://bugs.openjdk.java.net/browse/JDK-8261513, which will be non-trivial.

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

PR: https://git.openjdk.java.net/jdk/pull/2493



More information about the security-dev mailing list