diff options
Diffstat (limited to 'crypto/src/asn1/DerSet.cs')
-rw-r--r-- | crypto/src/asn1/DerSet.cs | 2 |
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(); |