summary refs log tree commit diff
path: root/crypto/src/x509/X509Attribute.cs
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/src/x509/X509Attribute.cs')
-rw-r--r--crypto/src/x509/X509Attribute.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/src/x509/X509Attribute.cs b/crypto/src/x509/X509Attribute.cs
index 248d66cc4..dbb61d9cc 100644
--- a/crypto/src/x509/X509Attribute.cs
+++ b/crypto/src/x509/X509Attribute.cs
@@ -47,7 +47,7 @@ namespace Org.BouncyCastle.X509
 			string              oid,
 			Asn1EncodableVector value)
 		{
-			this.attr = new AttributeX509(new DerObjectIdentifier(oid), new DerSet(value));
+			this.attr = new AttributeX509(new DerObjectIdentifier(oid), DerSet.FromVector(value));
 		}
 
 		public string Oid