Skip to content

Commit f00ed63

Browse files
committed
added use of default on CRL sign check.
1 parent 2f63dc8 commit f00ed63

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

prov/src/main/java/org/bouncycastle/jce/provider/RFC3280CertPathUtilities.java

+3-5
Original file line numberDiff line numberDiff line change
@@ -560,7 +560,7 @@ protected static Set processCRLF(
560560

561561
if (keyUsage == null)
562562
{
563-
if (Properties.isOverrideSet("org.bouncycastle.x509.allow_ca_without_crl_sign"))
563+
if (Properties.isOverrideSet("org.bouncycastle.x509.allow_ca_without_crl_sign", true))
564564
{
565565
checkKeys.add(validKeys.get(i));
566566
}
@@ -1448,18 +1448,16 @@ protected static void processCertA(
14481448
{
14491449
throw new ExtCertPathValidatorException("Could not validate certificate: " + e.getMessage(), e, certPath, index);
14501450
}
1451-
System.err.println(cert.getIssuerX500Principal());
1452-
System.err.println(cert.getSubjectX500Principal());
1451+
14531452
//
14541453
// (a) (3)
14551454
//
14561455
if (revocationChecker != null)
14571456
{
14581457
revocationChecker.initialize(new PKIXCertRevocationCheckerParameters(paramsPKIX, validCertDate, certPath,
14591458
index, sign, workingPublicKey));
1460-
System.err.println("in revocation");
1459+
14611460
revocationChecker.check(cert);
1462-
System.err.println("leaving revocation");
14631461
}
14641462

14651463
//

0 commit comments

Comments
 (0)