diff options
Diffstat (limited to 'crypto/src/asn1/BerNull.cs')
-rw-r--r-- | crypto/src/asn1/BerNull.cs | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/crypto/src/asn1/BerNull.cs b/crypto/src/asn1/BerNull.cs index 0751bbac3..cf669914b 100644 --- a/crypto/src/asn1/BerNull.cs +++ b/crypto/src/asn1/BerNull.cs @@ -8,19 +8,14 @@ namespace Org.BouncyCastle.Asn1 public class BerNull : DerNull { - public static new readonly BerNull Instance = new BerNull(0); + public static new readonly BerNull Instance = new BerNull(); - [Obsolete("Use static Instance object")] - public BerNull() + private BerNull() + : base() { } - private BerNull(int dummy) : base(dummy) - { - } - - internal override void Encode( - DerOutputStream derOut) + internal override void Encode(DerOutputStream derOut) { if (derOut is Asn1OutputStream || derOut is BerOutputStream) { |