* CryptoStream.cs: don't Close the underlying stream in FlushFinalBlock.
Fixes bug #40394.
svn path=/trunk/mcs/; revision=12878
+2003-03-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+ * CryptoStream.cs: don't Close the underlying stream in FlushFinalBlock.
+ Fixes bug #40394.
+
2003-03-03 Sebastien Pouliot <spouliot@videotron.ca>
* RSACryptoServiceProvider.cs: Delay keypair generation event when
if (_mode != CryptoStreamMode.Write)
throw new NotSupportedException ("cannot flush a non-writeable CryptoStream");
- if (_stream != null) {
+ if (_stream != null)
_stream.Flush ();
- Close ();
- }
}
public override long Seek (long offset, SeekOrigin origin)