Commit Graph
5 Commits
Author SHA1 Message Date
Ed Boren ee17eca298 Data corruption using SslStream (Xamarin bug 15293)
When reading and writing data at the same time over an
System.Net.Security.SslStream, an exception will be thrown often.
Usually the exception is: Mono.Security.Protocol.Tls.TlsException “Bad
record MAC”

The issue is that the single TlsCipherSuite instance used for both
reading and writing does not synchronize access to the “header” member.
If the contents get corrupted the MAC calculation returned by
ComputServerRecordMAC or ComputeClientRecordMAC is incorrect.

See https://bugzilla.xamarin.com/show_bug.cgi?id=15293. Reproduced in
OS X, iOS and Windows.
2014-02-28 17:08:15 -05:00
Rodrigo Kumpera a0d28b2587 Kill the MOONLIGHT define in System.ServiceModel. 2013-02-11 13:01:11 -05:00
Miguel de Icaza 8a5f02ff75 Remove more old compile defines 2012-07-18 22:27:21 -04:00
Atsushi Eno 869cebe2c7 updated to the latest code from Mono.Security.
svn path=/trunk/mcs/; revision=160450
2010-07-15 17:09:00 +00:00
Jb Evain bdd0809c70 move to from olive to mcs
svn path=/trunk/mcs/; revision=111187
2008-08-20 21:24:37 +00:00