summary refs log tree commit diff
path: root/crypto/src/asn1/BerSequence.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/BerSequence.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/BerSequence.cs')
-rw-r--r--crypto/src/asn1/BerSequence.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/src/asn1/BerSequence.cs b/crypto/src/asn1/BerSequence.cs
index 55c93a72e..ccff73c37 100644
--- a/crypto/src/asn1/BerSequence.cs
+++ b/crypto/src/asn1/BerSequence.cs
@@ -48,7 +48,7 @@ namespace Org.BouncyCastle.Asn1
 
 				foreach (Asn1Encodable o in this)
 				{
-					derOut.WriteObject(o);
+                    o.ToAsn1Object().Encode(derOut);
 				}
 
 				derOut.WriteByte(0x00);