Author: atsushi
Date: 2007-04-02 06:12:43 -0400 (Mon, 02 Apr 2007)
New Revision: 75275

Modified:
   trunk/olive/class/System.ServiceModel/System.ServiceModel.Security/ChangeLog
   
trunk/olive/class/System.ServiceModel/System.ServiceModel.Security/DataProtectionSecurityStateEncoder.cs
Log:
2007-04-02  Atsushi Enomoto  <[EMAIL PROTECTED]>

        * DataProtectionSecurityStateEncoder.cs : oops, Encode->Protect,
          Decode->Unprotect.



Modified: 
trunk/olive/class/System.ServiceModel/System.ServiceModel.Security/ChangeLog
===================================================================
--- 
trunk/olive/class/System.ServiceModel/System.ServiceModel.Security/ChangeLog    
    2007-04-02 03:47:05 UTC (rev 75274)
+++ 
trunk/olive/class/System.ServiceModel/System.ServiceModel.Security/ChangeLog    
    2007-04-02 10:12:43 UTC (rev 75275)
@@ -1,3 +1,8 @@
+2007-04-02  Atsushi Enomoto  <[EMAIL PROTECTED]>
+
+       * DataProtectionSecurityStateEncoder.cs : oops, Encode->Protect,
+         Decode->Unprotect.
+
 2007-03-30  Atsushi Enomoto  <[EMAIL PROTECTED]>
 
        * ServiceCredentialsSecurityTokenManager.cs : SecurityBindingElement

Modified: 
trunk/olive/class/System.ServiceModel/System.ServiceModel.Security/DataProtectionSecurityStateEncoder.cs
===================================================================
--- 
trunk/olive/class/System.ServiceModel/System.ServiceModel.Security/DataProtectionSecurityStateEncoder.cs
    2007-04-02 03:47:05 UTC (rev 75274)
+++ 
trunk/olive/class/System.ServiceModel/System.ServiceModel.Security/DataProtectionSecurityStateEncoder.cs
    2007-04-02 10:12:43 UTC (rev 75275)
@@ -67,12 +67,12 @@
 
                protected internal override byte [] DecodeSecurityState (byte 
[] data)
                {
-                       return ProtectedData.Protect (data, entropy, 
DataProtectionScope.CurrentUser);
+                       return ProtectedData.Unprotect (data, entropy, 
DataProtectionScope.CurrentUser);
                }
 
                protected internal override byte [] EncodeSecurityState (byte 
[] data)
                {
-                       return ProtectedData.Unprotect (data, entropy, 
DataProtectionScope.CurrentUser);
+                       return ProtectedData.Protect (data, entropy, 
DataProtectionScope.CurrentUser);
                }
        }
 }

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to