* SecurityRequestChannel.cs : do not try to decrypt faults, they
are not encrypted.
svn path=/trunk/mcs/; revision=160126
+2010-07-09 Atsushi Enomoto <atsushi@ximian.com>
+
+ * SecurityRequestChannel.cs : do not try to decrypt faults, they
+ are not encrypted.
+
2010-07-09 Atsushi Enomoto <atsushi@ximian.com>
* MessageHeader.cs : to clone raw xml completely, avoid using
Message ProcessReply (Message message, SecurityMessageProperty secprop)
{
// FIXME: provide correct parameters
- return new InitiatorSecureMessageDecryptor (message, secprop, security).DecryptMessage ();
+ return message.IsFault ? message : new InitiatorSecureMessageDecryptor (message, secprop, security).DecryptMessage ();
}
void AcquireSecurityKey (object o, EventArgs e)