jdk/src/share/classes/sun/security/provider/certpath/ForwardBuilder.java
changeset 4190 227655c2ff8c
parent 3225 023603ebeb1f
child 4209 e2e5a973b879
--- a/jdk/src/share/classes/sun/security/provider/certpath/ForwardBuilder.java	Tue Aug 18 16:53:23 2009 -0700
+++ b/jdk/src/share/classes/sun/security/provider/certpath/ForwardBuilder.java	Tue Aug 18 20:47:13 2009 -0700
@@ -716,6 +716,11 @@
         /* we don't perform any validation of the trusted cert */
         if (!isTrustedCert) {
             /*
+             * check that the signature algorithm is not disabled.
+             */
+            AlgorithmChecker.check(cert);
+
+            /*
              * Check CRITICAL private extensions for user checkers that
              * support forward checking (forwardCheckers) and remove
              * ones we know how to check.