I'm checking this in.

Another fixlet suggested by FindBugs.

Tom

Index: ChangeLog
from  Tom Tromey  <[EMAIL PROTECTED]>
        * gnu/java/security/provider/PKIXCertPathValidatorImpl.java
        (engineValidate): Fix sense of test.  PR classpath/22991.

Index: gnu/java/security/provider/PKIXCertPathValidatorImpl.java
===================================================================
RCS file: 
/cvsroot/classpath/classpath/gnu/java/security/provider/PKIXCertPathValidatorImpl.java,v
retrieving revision 1.4
diff -u -r1.4 PKIXCertPathValidatorImpl.java
--- gnu/java/security/provider/PKIXCertPathValidatorImpl.java 2 Jul 2005 
20:32:14 -0000 1.4
+++ gnu/java/security/provider/PKIXCertPathValidatorImpl.java 26 Jul 2005 
22:37:41 -0000
@@ -1,5 +1,5 @@
 /* PKIXCertPathValidatorImpl.java -- PKIX certificate path validator.
-   Copyright (C) 2004  Free Software Foundation, Inc.
+   Copyright (C) 2004, 2005  Free Software Foundation, Inc.
 
 This file is part of GNU Classpath.
 
@@ -331,7 +331,7 @@
           continue;
         try
           {
-            if (anchorCert == null)
+            if (anchorCert != null)
               anchorCert.checkValidity(now);
             p[p.length-1].verify(anchorKey);
             if (anchorCert != null && anchorCert.getBasicConstraints() >= 0


_______________________________________________
Classpath-patches mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/classpath-patches

Reply via email to