summary refs log tree commit diff
path: root/crypto/src/asn1/cms/PasswordRecipientInfo.cs
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/src/asn1/cms/PasswordRecipientInfo.cs')
-rw-r--r--crypto/src/asn1/cms/PasswordRecipientInfo.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/src/asn1/cms/PasswordRecipientInfo.cs b/crypto/src/asn1/cms/PasswordRecipientInfo.cs
index 67ff01cf8..5fac434ca 100644
--- a/crypto/src/asn1/cms/PasswordRecipientInfo.cs
+++ b/crypto/src/asn1/cms/PasswordRecipientInfo.cs
@@ -34,7 +34,7 @@ namespace Org.BouncyCastle.Asn1.Cms
             AlgorithmIdentifier	keyEncryptionAlgorithm,
             Asn1OctetString		encryptedKey)
         {
-            this.version = new DerInteger(0);
+            this.version = DerInteger.Zero;
             this.keyEncryptionAlgorithm = keyEncryptionAlgorithm;
             this.encryptedKey = encryptedKey;
         }
@@ -44,7 +44,7 @@ namespace Org.BouncyCastle.Asn1.Cms
 			AlgorithmIdentifier	keyEncryptionAlgorithm,
 			Asn1OctetString		encryptedKey)
 		{
-			this.version = new DerInteger(0);
+			this.version = DerInteger.Zero;
 			this.keyDerivationAlgorithm = keyDerivationAlgorithm;
 			this.keyEncryptionAlgorithm = keyEncryptionAlgorithm;
 			this.encryptedKey = encryptedKey;