diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2021-11-11 20:18:10 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2021-11-11 20:18:10 +0700 |
commit | 41a2854eebcb65e5e063eb9dc26e0787cf2845f8 (patch) | |
tree | d71638e1b23313112cb5c3d45a5c3c10f2fcefef /crypto/src/asn1 | |
parent | Minor fixes for DLTaggedObject (diff) | |
download | BouncyCastle.NET-ed25519-41a2854eebcb65e5e063eb9dc26e0787cf2845f8.tar.xz |
Remove now-redundant workaround
Diffstat (limited to 'crypto/src/asn1')
-rw-r--r-- | crypto/src/asn1/DerOutputStream.cs | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/crypto/src/asn1/DerOutputStream.cs b/crypto/src/asn1/DerOutputStream.cs index 47b945635..dda9ce1c0 100644 --- a/crypto/src/asn1/DerOutputStream.cs +++ b/crypto/src/asn1/DerOutputStream.cs @@ -43,20 +43,5 @@ namespace Org.BouncyCastle.Asn1 { get { return EncodingDer; } } - - internal override void WritePrimitive(Asn1Object primitive, bool withID) - { - Asn1Set asn1Set = primitive as Asn1Set; - if (null != asn1Set) - { - /* - * NOTE: Even a DerSet isn't necessarily already in sorted order (particularly from DerSetParser), - * so all sets have to be converted here. - */ - primitive = new DerSet(asn1Set.elements); - } - - primitive.Encode(this, withID); - } } } |