You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@santuario.apache.org by "Colm O hEigeartaigh (Updated) (JIRA)" <ji...@apache.org> on 2012/03/28 11:33:26 UTC

[jira] [Updated] (SANTUARIO-306) KeySelectors loop

     [ https://issues.apache.org/jira/browse/SANTUARIO-306?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Colm O hEigeartaigh updated SANTUARIO-306:
------------------------------------------

    Affects Version/s: Java 1.4.6
                       Java 1.5.1
        Fix Version/s: Java 1.5.2
                       Java 1.4.7
    
> KeySelectors loop
> -----------------
>
>                 Key: SANTUARIO-306
>                 URL: https://issues.apache.org/jira/browse/SANTUARIO-306
>             Project: Santuario
>          Issue Type: Bug
>          Components: Java
>    Affects Versions: Java 1.4.6, Java 1.5.1
>            Reporter: Rui Caridade
>            Assignee: Colm O hEigeartaigh
>            Priority: Trivial
>             Fix For: Java 1.4.7, Java 1.5.2
>
>
> At javax\xml\crypto\test\KeySelectors.java we have
>                     X509CRL crl = null;
>                     // Looking for CRL before finding certificates
>                     for (int i = 0; (i < entries.length && crl != null); i++) {
>                         if (entries[i] instanceof X509CRL) {
>                             crl = (X509CRL) entries[i];
>                         }
>                     }
> Should "i < entries.length && crl != null" be replaced with "i < entries.length && crl == null" ? Am i missing something?  
> Thank you.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira