[Mono-devel-list] Fix for SymmetricAlgorithm
Lluis Sanchez
lluis at ideary.com
Wed Jul 9 12:32:25 EDT 2003
Hi,
I had a problem when writing to a Crypto stream. I got a "Insufficient
output buffer size" exception. Investigating a little bit I've found that
the method FinalEncrypt fails if inputCount (the number of bytes to encrypt)
is 0. The attached patch fixes the problem, but it is just a convenience
patch, maybe there is a better way to do it. However, if there are no
objections, I'll commit it.
Lluis.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: SymmetricAlgorithm.diff
Type: application/octet-stream
Size: 688 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20030709/4a1c1feb/attachment.obj
More information about the Mono-devel-list
mailing list