diff options
Diffstat (limited to 'crypto/src/asn1/BERGenerator.cs')
-rw-r--r-- | crypto/src/asn1/BERGenerator.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/src/asn1/BERGenerator.cs b/crypto/src/asn1/BERGenerator.cs index ad72e7a31..f5465b756 100644 --- a/crypto/src/asn1/BERGenerator.cs +++ b/crypto/src/asn1/BERGenerator.cs @@ -31,13 +31,13 @@ namespace Org.BouncyCastle.Asn1 public override void AddObject( Asn1Encodable obj) { - new BerOutputStream(Out).WriteObject(obj); + new Asn1OutputStream(Out).WriteObject(obj); } public override void AddObject( Asn1Object obj) { - new BerOutputStream(Out).WriteObject(obj); + new Asn1OutputStream(Out).WriteObject(obj); } public override Stream GetRawOutputStream() |