jdk/src/share/classes/sun/security/provider/certpath/ForwardBuilder.java
changeset 21278 ef8a3a2a72f2
parent 13806 b18118646a65
child 22107 3e6b0718041e
equal deleted inserted replaced
21277:bd380b80f9ea 21278:ef8a3a2a72f2
   673 
   673 
   674         /*
   674         /*
   675          * check for looping - abort a loop if
   675          * check for looping - abort a loop if
   676          * ((we encounter the same certificate twice) AND
   676          * ((we encounter the same certificate twice) AND
   677          * ((policyMappingInhibited = true) OR (no policy mapping
   677          * ((policyMappingInhibited = true) OR (no policy mapping
   678          * extensions can be found between the occurences of the same
   678          * extensions can be found between the occurrences of the same
   679          * certificate)))
   679          * certificate)))
   680          */
   680          */
   681         if (certPathList != null) {
   681         if (certPathList != null) {
   682             boolean policyMappingFound = false;
   682             boolean policyMappingFound = false;
   683             for (X509Certificate cpListCert : certPathList) {
   683             for (X509Certificate cpListCert : certPathList) {