Author: spouliot
Date: 2008-02-03 13:07:38 -0500 (Sun, 03 Feb 2008)
New Revision: 94705

Modified:
   trunk/mcs/class/Mono.Security/Mono.Security.Cryptography/ChangeLog
   trunk/mcs/class/Mono.Security/Mono.Security.Cryptography/RSAManaged.cs
Log:
2008-02-03  Sebastien Pouliot  <[EMAIL PROTECTED]>

        * RSAManaged.cs: Replace "" (found by Gendarme) with more useful text.



Modified: trunk/mcs/class/Mono.Security/Mono.Security.Cryptography/ChangeLog
===================================================================
--- trunk/mcs/class/Mono.Security/Mono.Security.Cryptography/ChangeLog  
2008-02-03 18:07:27 UTC (rev 94704)
+++ trunk/mcs/class/Mono.Security/Mono.Security.Cryptography/ChangeLog  
2008-02-03 18:07:38 UTC (rev 94705)
@@ -1,3 +1,7 @@
+2008-02-03  Sebastien Pouliot  <[EMAIL PROTECTED]>
+
+       * RSAManaged.cs: Replace "" (found by Gendarme) with more useful text.
+
 2008-01-10  Sebastien Pouliot  <[EMAIL PROTECTED]>
 
        * PKCS1.cs: Add a new method that optionally checks for badly 

Modified: trunk/mcs/class/Mono.Security/Mono.Security.Cryptography/RSAManaged.cs
===================================================================
--- trunk/mcs/class/Mono.Security/Mono.Security.Cryptography/RSAManaged.cs      
2008-02-03 18:07:27 UTC (rev 94704)
+++ trunk/mcs/class/Mono.Security/Mono.Security.Cryptography/RSAManaged.cs      
2008-02-03 18:07:38 UTC (rev 94705)
@@ -257,7 +257,7 @@
                public override RSAParameters ExportParameters (bool 
includePrivateParameters) 
                {
                        if (m_disposed)
-                               throw new ObjectDisposedException ("");
+                               throw new ObjectDisposedException 
(Locale.GetText ("Keypair was disposed"));
 
                        if (!keypairGenerated)
                                GenerateKeyPair ();
@@ -293,7 +293,7 @@
                public override void ImportParameters (RSAParameters 
parameters) 
                {
                        if (m_disposed)
-                               throw new ObjectDisposedException ("");
+                               throw new ObjectDisposedException 
(Locale.GetText ("Keypair was disposed"));
 
                        // if missing "mandatory" parameters
                        if (parameters.Exponent == null) 

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

Reply via email to