summary refs log tree commit diff
path: root/crypto/src/asn1/pkcs/RSAPrivateKeyStructure.cs
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/src/asn1/pkcs/RSAPrivateKeyStructure.cs')
-rw-r--r--crypto/src/asn1/pkcs/RSAPrivateKeyStructure.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/src/asn1/pkcs/RSAPrivateKeyStructure.cs b/crypto/src/asn1/pkcs/RSAPrivateKeyStructure.cs
index c445df562..0e7911163 100644
--- a/crypto/src/asn1/pkcs/RSAPrivateKeyStructure.cs
+++ b/crypto/src/asn1/pkcs/RSAPrivateKeyStructure.cs
@@ -128,7 +128,7 @@ namespace Org.BouncyCastle.Asn1.Pkcs
         public override Asn1Object ToAsn1Object()
         {
             return new DerSequence(
-                new DerInteger(0), // version
+                DerInteger.Zero, // version
                 new DerInteger(Modulus),
                 new DerInteger(PublicExponent),
                 new DerInteger(PrivateExponent),