summary refs log tree commit diff
path: root/crypto/src/cms/CMSSignedGenerator.cs
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/src/cms/CMSSignedGenerator.cs')
-rw-r--r--crypto/src/cms/CMSSignedGenerator.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/src/cms/CMSSignedGenerator.cs b/crypto/src/cms/CMSSignedGenerator.cs
index 61a4e9ad6..799501789 100644
--- a/crypto/src/cms/CMSSignedGenerator.cs
+++ b/crypto/src/cms/CMSSignedGenerator.cs
@@ -590,7 +590,7 @@ namespace Org.BouncyCastle.Cms
         {
             return attr == null
                 ? null
-                : new DerSet(attr.ToAsn1EncodableVector());
+                : DerSet.FromVector(attr.ToAsn1EncodableVector());
         }
 
         public void AddAttributeCertificate(X509V2AttributeCertificate attrCert)