summary refs log tree commit diff
path: root/crypto/src/asn1/DerSet.cs
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2021-10-14 12:37:07 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2021-10-14 12:37:07 +0700
commit5e745d4952792a463ad2427704b2f3a6d891f36e (patch)
tree571783e2368684b9c9c13134ee8ca1302f5f4cd0 /crypto/src/asn1/DerSet.cs
parentImprove handling of signatures for duplicated user-id/attributes (diff)
downloadBouncyCastle.NET-ed25519-5e745d4952792a463ad2427704b2f3a6d891f36e.tar.xz
ASN.1 opts.
Diffstat (limited to 'crypto/src/asn1/DerSet.cs')
-rw-r--r--crypto/src/asn1/DerSet.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/src/asn1/DerSet.cs b/crypto/src/asn1/DerSet.cs
index bf618ae46..3818d286f 100644
--- a/crypto/src/asn1/DerSet.cs
+++ b/crypto/src/asn1/DerSet.cs
@@ -84,7 +84,7 @@ namespace Org.BouncyCastle.Asn1
 
             foreach (Asn1Encodable obj in this)
             {
-                dOut.WriteObject(obj);
+                obj.ToAsn1Object().Encode(dOut);
             }
 
             dOut.Flush();