summary refs log tree commit diff
path: root/crypto/src/asn1/pkcs/EncryptedData.cs
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/src/asn1/pkcs/EncryptedData.cs')
-rw-r--r--crypto/src/asn1/pkcs/EncryptedData.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/src/asn1/pkcs/EncryptedData.cs b/crypto/src/asn1/pkcs/EncryptedData.cs
index fdee60405..f75975d5a 100644
--- a/crypto/src/asn1/pkcs/EncryptedData.cs
+++ b/crypto/src/asn1/pkcs/EncryptedData.cs
@@ -97,7 +97,7 @@ namespace Org.BouncyCastle.Asn1.Pkcs
 
 		public override Asn1Object ToAsn1Object()
         {
-			return new BerSequence(new DerInteger(0), data);
+			return new BerSequence(DerInteger.Zero, data);
         }
     }
 }