diff options
author | bouncy <bouncy> | 2013-02-07 01:49:30 +0000 |
---|---|---|
committer | bouncy <bouncy> | 2013-02-07 01:49:30 +0000 |
commit | 8c47fc6d1282216572a9e31b0421c7e830856a2b (patch) | |
tree | 877089e1d8ec9e9e45c6529d8720589f62a3a1ed | |
parent | c473a2d7f9e4234e7d68f452c35fe5af1d9d9a8d (diff) | |
download | android_external_spongycastle-8c47fc6d1282216572a9e31b0421c7e830856a2b.tar.gz android_external_spongycastle-8c47fc6d1282216572a9e31b0421c7e830856a2b.tar.bz2 android_external_spongycastle-8c47fc6d1282216572a9e31b0421c7e830856a2b.zip |
compatibility update
-rw-r--r-- | crypto/src/org/bouncycastle/asn1/ua/DSTU4145ECBinary.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/src/org/bouncycastle/asn1/ua/DSTU4145ECBinary.java b/crypto/src/org/bouncycastle/asn1/ua/DSTU4145ECBinary.java index d57cc00f8..2c2000dcf 100644 --- a/crypto/src/org/bouncycastle/asn1/ua/DSTU4145ECBinary.java +++ b/crypto/src/org/bouncycastle/asn1/ua/DSTU4145ECBinary.java @@ -21,7 +21,7 @@ public class DSTU4145ECBinary extends ASN1Object { - BigInteger version = BigInteger.ZERO; + BigInteger version = BigInteger.valueOf(0); DSTU4145BinaryField f; ASN1Integer a; @@ -128,7 +128,7 @@ public class DSTU4145ECBinary ASN1EncodableVector v = new ASN1EncodableVector(); - if (0 != version.compareTo(BigInteger.ZERO)) + if (0 != version.compareTo(BigInteger.valueOf(0))) { v.add(new DERTaggedObject(true, 0, new ASN1Integer(version))); } |