diff options
Diffstat (limited to 'crypto/src/asn1/sec/ECPrivateKeyStructure.cs')
-rw-r--r-- | crypto/src/asn1/sec/ECPrivateKeyStructure.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/src/asn1/sec/ECPrivateKeyStructure.cs b/crypto/src/asn1/sec/ECPrivateKeyStructure.cs index 89b87bf2b..298a0ba79 100644 --- a/crypto/src/asn1/sec/ECPrivateKeyStructure.cs +++ b/crypto/src/asn1/sec/ECPrivateKeyStructure.cs @@ -56,7 +56,7 @@ namespace Org.BouncyCastle.Asn1.Sec byte[] bytes = BigIntegers.AsUnsignedByteArray((orderBitLength + 7) / 8, key); Asn1EncodableVector v = new Asn1EncodableVector( - new DerInteger(1), + DerInteger.One, new DerOctetString(bytes)); v.AddOptionalTagged(true, 0, parameters); |