summary refs log tree commit diff
path: root/crypto/src/asn1/BerOctetString.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/BerOctetString.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/BerOctetString.cs')
-rw-r--r--crypto/src/asn1/BerOctetString.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/src/asn1/BerOctetString.cs b/crypto/src/asn1/BerOctetString.cs
index 2b4de4b2f..3085f3569 100644
--- a/crypto/src/asn1/BerOctetString.cs
+++ b/crypto/src/asn1/BerOctetString.cs
@@ -135,7 +135,7 @@ namespace Org.BouncyCastle.Asn1
                 //
                 foreach (Asn1OctetString oct in this)
                 {
-                    derOut.WriteObject(oct);
+                    oct.Encode(derOut);
                 }
 
 				derOut.WriteByte(0x00);