summary refs log tree commit diff
path: root/crypto/src/asn1/cms/KeyTransRecipientInfo.cs
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/src/asn1/cms/KeyTransRecipientInfo.cs')
-rw-r--r--crypto/src/asn1/cms/KeyTransRecipientInfo.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/src/asn1/cms/KeyTransRecipientInfo.cs b/crypto/src/asn1/cms/KeyTransRecipientInfo.cs
index 6981e87f9..1d9825b02 100644
--- a/crypto/src/asn1/cms/KeyTransRecipientInfo.cs
+++ b/crypto/src/asn1/cms/KeyTransRecipientInfo.cs
@@ -38,11 +38,11 @@ namespace Org.BouncyCastle.Asn1.Cms
         {
             if (rid.ToAsn1Object() is Asn1TaggedObject)
             {
-                this.version = new DerInteger(2);
+                this.version = DerInteger.Two;
             }
             else
             {
-                this.version = new DerInteger(0);
+                this.version = DerInteger.Zero;
             }
 
 			this.rid = rid;