Commit fd603291 by Michael Koch Committed by Michael Koch

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

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

From-SVN: r98397
parent 2330df3b
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> 2005-04-19 Roman Kennke <roman@kennke.org>
* javax/swing/plaf/metal/MetalLookAndFeel.java * javax/swing/plaf/metal/MetalLookAndFeel.java
......
...@@ -622,10 +622,9 @@ public class X509Certificate extends java.security.cert.X509Certificate ...@@ -622,10 +622,9 @@ public class X509Certificate extends java.security.cert.X509Certificate
else else
{ {
algVal = val.getEncoded(); algVal = val.getEncoded();
}
if (val.isConstructed()) if (val.isConstructed())
{ encoded.skip(val.getLength());
encoded.skip(val.getLength());
} }
debug("read algorithm parameters == " + algVal); debug("read algorithm parameters == " + algVal);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment