2005-04-19 Michael Koch <konqueror@gmx.de>

* gnu/java/security/x509/X509Certificate.java
	(parse): Handle val == null case.

From-SVN: r98397
This commit is contained in:
Michael Koch 2005-04-19 10:18:45 +00:00 committed by Michael Koch
parent 2330df3bed
commit fd60329140
2 changed files with 8 additions and 4 deletions

View File

@ -1,3 +1,8 @@
2005-04-19 Michael Koch <konqueror@gmx.de>
* gnu/java/security/x509/X509Certificate.java
(parse): Handle val == null case.
2005-04-19 Roman Kennke <roman@kennke.org>
* javax/swing/plaf/metal/MetalLookAndFeel.java

View File

@ -622,10 +622,9 @@ public class X509Certificate extends java.security.cert.X509Certificate
else
{
algVal = val.getEncoded();
}
if (val.isConstructed())
{
encoded.skip(val.getLength());
if (val.isConstructed())
encoded.skip(val.getLength());
}
debug("read algorithm parameters == " + algVal);
}