+2004-09-21 Casey Marshall <csm@gnu.org>
+
+ * java/security/cert/X509CRLSelector.java:
+ (match): remove unreachable try-catch clauses.
+ Reported by: Dalibor Topic <robilad@kaffe.org>
+
+2004-09-21 Mark Wielaard <mark@klomp.org>
+
+ * java/util/TreeMap.java (root): Don't initialize.
+ (TreeMap(Comparator)): Call fabricateTree(0).
+ (fabricateTree): Initialize root and size when count is 0.
+
2004-09-21 Sven de Marothy <sven@physto.se>
* java/nio/ByteBuffer.java (hashCode): Implemented.
BigInteger crlNumber = null;
if (maxCrlNumber != null)
{
+ byte[] b = crl.getExtensionValue(CRL_NUMBER_ID);
+ if (b == null)
+ return false;
try
+ {
+ DERValue val = DERReader.read(b);
+ if (!(val.getValue() instanceof BigInteger))
+ return false;
+ crlNumber = (BigInteger) val.getValue();
+ }
+ catch (IOException ioe)
+ {
+ return false;
+ }
+ if (maxCrlNumber.compareTo(crlNumber) < 0)
+ return false;
+ }
+ if (minCrlNumber != null)
+ {
+ if (crlNumber == null)
{
byte[] b = crl.getExtensionValue(CRL_NUMBER_ID);
if (b == null)
{
return false;
}
- if (maxCrlNumber.compareTo(crlNumber) < 0)
- return false;
- }
- catch (CertificateParsingException cpe)
- {
- return false;
- }
- }
- if (minCrlNumber != null)
- {
- try
- {
- if (crlNumber == null)
- {
- byte[] b = crl.getExtensionValue(CRL_NUMBER_ID);
- if (b == null)
- return false;
- try
- {
- DERValue val = DERReader.read(b);
- if (!(val.getValue() instanceof BigInteger))
- return false;
- crlNumber = (BigInteger) val.getValue();
- }
- catch (IOException ioe)
- {
- return false;
- }
- }
- if (minCrlNumber.compareTo(crlNumber) > 0)
- return false;
- }
- catch (CertificateParsingException cpe)
- {
- return false;
}
+ if (minCrlNumber.compareTo(crlNumber) > 0)
+ return false;
}
if (date != null)
{