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

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

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



Modified: trunk/mcs/class/corlib/Mono.Security.Cryptography/ChangeLog
===================================================================
--- trunk/mcs/class/corlib/Mono.Security.Cryptography/ChangeLog 2008-02-03 
17:35:30 UTC (rev 94703)
+++ trunk/mcs/class/corlib/Mono.Security.Cryptography/ChangeLog 2008-02-03 
18:07:27 UTC (rev 94704)
@@ -1,3 +1,8 @@
+2008-02-03  Sebastien Pouliot  <[EMAIL PROTECTED]>
+
+       * DSAManaged.cs: Replace "" (found by Gendarme) with more useful text.
+       * 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/corlib/Mono.Security.Cryptography/DSAManaged.cs
===================================================================
--- trunk/mcs/class/corlib/Mono.Security.Cryptography/DSAManaged.cs     
2008-02-03 17:35:30 UTC (rev 94703)
+++ trunk/mcs/class/corlib/Mono.Security.Cryptography/DSAManaged.cs     
2008-02-03 18:07:27 UTC (rev 94704)
@@ -262,7 +262,7 @@
                public override DSAParameters ExportParameters (bool 
includePrivateParameters)
                {
                        if (m_disposed)
-                               throw new ObjectDisposedException ("");
+                               throw new ObjectDisposedException 
(Locale.GetText ("Keypair was disposed"));
 
                        if (!keypairGenerated)
                                Generate ();
@@ -380,7 +380,7 @@
                public override bool VerifySignature (byte[] rgbHash, byte[] 
rgbSignature) 
                {
                        if (m_disposed)
-                               throw new ObjectDisposedException ("");
+                               throw new ObjectDisposedException 
(Locale.GetText ("Keypair was disposed"));
 
                        if (rgbHash == null)
                                throw new ArgumentNullException ("rgbHash");

Modified: trunk/mcs/class/corlib/Mono.Security.Cryptography/RSAManaged.cs
===================================================================
--- trunk/mcs/class/corlib/Mono.Security.Cryptography/RSAManaged.cs     
2008-02-03 17:35:30 UTC (rev 94703)
+++ trunk/mcs/class/corlib/Mono.Security.Cryptography/RSAManaged.cs     
2008-02-03 18:07:27 UTC (rev 94704)
@@ -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