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

Weijun Wang weijun at openjdk.java.net
Wed Feb 10 01:43:54 UTC 2021


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.

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

Commit messages:
 - 8261472: BasicConstraintsExtension::toString shows "PathLen:2147483647" if there is no pathLenConstraint

Changes: https://git.openjdk.java.net/jdk/pull/2493/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=2493&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8261472
  Stats: 11 lines in 1 file changed: 8 ins; 1 del; 2 mod
  Patch: https://git.openjdk.java.net/jdk/pull/2493.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/2493/head:pull/2493

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


More information about the security-dev mailing list