diff options
author | Michael Koch <konqueror@gmx.de> | 2005-04-19 10:18:45 +0000 |
---|---|---|
committer | Michael Koch <mkoch@gcc.gnu.org> | 2005-04-19 10:18:45 +0000 |
commit | fd6032914064dd701cf3a044682802ef36ed18d6 (patch) | |
tree | 9f84fe54bd580999f2267358b07a42de7a46067f /libjava/gnu/java | |
parent | 2330df3bed9c50b1b46030cf674006a9ac8bb955 (diff) | |
download | gcc-fd6032914064dd701cf3a044682802ef36ed18d6.zip gcc-fd6032914064dd701cf3a044682802ef36ed18d6.tar.gz gcc-fd6032914064dd701cf3a044682802ef36ed18d6.tar.bz2 |
2005-04-19 Michael Koch <konqueror@gmx.de>
* gnu/java/security/x509/X509Certificate.java
(parse): Handle val == null case.
From-SVN: r98397
Diffstat (limited to 'libjava/gnu/java')
-rw-r--r-- | libjava/gnu/java/security/x509/X509Certificate.java | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/libjava/gnu/java/security/x509/X509Certificate.java b/libjava/gnu/java/security/x509/X509Certificate.java index 29606d1..5d8f1d9 100644 --- a/libjava/gnu/java/security/x509/X509Certificate.java +++ b/libjava/gnu/java/security/x509/X509Certificate.java @@ -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); } |