summary refs log tree commit diff
path: root/crypto/src/asn1/cms/Attributes.cs
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/src/asn1/cms/Attributes.cs')
-rw-r--r--crypto/src/asn1/cms/Attributes.cs4
1 files changed, 1 insertions, 3 deletions
diff --git a/crypto/src/asn1/cms/Attributes.cs b/crypto/src/asn1/cms/Attributes.cs
index 010684158..6e3691870 100644
--- a/crypto/src/asn1/cms/Attributes.cs
+++ b/crypto/src/asn1/cms/Attributes.cs
@@ -1,5 +1,3 @@
-using System;
-
 namespace Org.BouncyCastle.Asn1.Cms
 {
     public class Attributes
@@ -16,7 +14,7 @@ namespace Org.BouncyCastle.Asn1.Cms
 
         public static Attributes GetInstance(Asn1TaggedObject taggedObject, bool declaredExplicit)
         {
-            return GetInstance(Asn1Set.GetInstance(taggedObject, declaredExplicit));
+            return new Attributes(Asn1Set.GetInstance(taggedObject, declaredExplicit));
         }
 
         private readonly Asn1Set m_attributes;