summary refs log tree commit diff
path: root/crypto/src/asn1/DerSet.cs
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/src/asn1/DerSet.cs')
-rw-r--r--crypto/src/asn1/DerSet.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/src/asn1/DerSet.cs b/crypto/src/asn1/DerSet.cs
index c66dde8c7..6d3f438bd 100644
--- a/crypto/src/asn1/DerSet.cs
+++ b/crypto/src/asn1/DerSet.cs
@@ -98,7 +98,7 @@ namespace Org.BouncyCastle.Asn1
 				dOut.WriteObject(obj);
 			}
 
-			dOut.Close();
+            dOut.Dispose();
 
 			byte[] bytes = bOut.ToArray();