diff options
Diffstat (limited to 'crypto/src/asn1/BerSet.cs')
-rw-r--r-- | crypto/src/asn1/BerSet.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/src/asn1/BerSet.cs b/crypto/src/asn1/BerSet.cs index 6209e71a8..14a542106 100644 --- a/crypto/src/asn1/BerSet.cs +++ b/crypto/src/asn1/BerSet.cs @@ -53,7 +53,7 @@ namespace Org.BouncyCastle.Asn1 foreach (Asn1Encodable o in this) { - derOut.WriteObject(o); + o.ToAsn1Object().Encode(derOut); } derOut.WriteByte(0x00); |