summary refs log tree commit diff
path: root/crypto/src/asn1/cms/KeyAgreeRecipientInfo.cs
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/src/asn1/cms/KeyAgreeRecipientInfo.cs')
-rw-r--r--crypto/src/asn1/cms/KeyAgreeRecipientInfo.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/src/asn1/cms/KeyAgreeRecipientInfo.cs b/crypto/src/asn1/cms/KeyAgreeRecipientInfo.cs
index 63eebcea3..345a45029 100644
--- a/crypto/src/asn1/cms/KeyAgreeRecipientInfo.cs
+++ b/crypto/src/asn1/cms/KeyAgreeRecipientInfo.cs
@@ -37,7 +37,7 @@ namespace Org.BouncyCastle.Asn1.Cms
             AlgorithmIdentifier         keyEncryptionAlgorithm,
             Asn1Sequence                recipientEncryptedKeys)
         {
-            this.version = new DerInteger(3);
+            this.version = DerInteger.Three;
             this.originator = originator;
             this.ukm = ukm;
             this.keyEncryptionAlgorithm = keyEncryptionAlgorithm;