jdk/src/java.base/share/classes/java/security/cert/X509CertSelector.java
changeset 29264 5172066a2da6
parent 26967 c182469301ee
child 30033 b9c86c17164a
equal deleted inserted replaced
29263:66e30e926405 29264:5172066a2da6
  2572                 return false;
  2572                 return false;
  2573             }
  2573             }
  2574         } else {
  2574         } else {
  2575             if (maxPathLen < basicConstraints) {
  2575             if (maxPathLen < basicConstraints) {
  2576                 if (debug != null) {
  2576                 if (debug != null) {
  2577                     debug.println("X509CertSelector.match: maxPathLen too small ("
  2577                     debug.println("X509CertSelector.match: cert's maxPathLen " +
  2578                         + maxPathLen + " < " + basicConstraints + ")");
  2578                             "is less than the min maxPathLen set by " +
       
  2579                             "basicConstraints. " +
       
  2580                             "(" + maxPathLen + " < " + basicConstraints + ")");
  2579                 }
  2581                 }
  2580                 return false;
  2582                 return false;
  2581             }
  2583             }
  2582         }
  2584         }
  2583         return true;
  2585         return true;