summary refs log tree commit diff
path: root/crypto/src/asn1/cms/RecipientInfo.cs
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/src/asn1/cms/RecipientInfo.cs')
-rw-r--r--crypto/src/asn1/cms/RecipientInfo.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/src/asn1/cms/RecipientInfo.cs b/crypto/src/asn1/cms/RecipientInfo.cs
index ff93258b6..85bd7e585 100644
--- a/crypto/src/asn1/cms/RecipientInfo.cs
+++ b/crypto/src/asn1/cms/RecipientInfo.cs
@@ -82,7 +82,7 @@ namespace Org.BouncyCastle.Asn1.Cms
 					case 3:
 						return PasswordRecipientInfo.GetInstance(o, false).Version;
 					case 4:
-						return new DerInteger(0);    // no syntax version for OtherRecipientInfo
+						return DerInteger.Zero;    // no syntax version for OtherRecipientInfo
 					default:
 						throw new InvalidOperationException("unknown tag");
 					}