Explorar el Código

2003-06-19 Nick Drochak <[email protected]>

	* DSAKeyValue.cs:
	* RSAKeyValue.cs: Work around for mcs? bug 45127.

svn path=/trunk/mcs/; revision=15496
Nick Drochak hace 22 años
padre
commit
d167326386

+ 5 - 0
mcs/class/System.Security/System.Security.Cryptography.Xml/ChangeLog

@@ -1,3 +1,8 @@
+2003-06-19  Nick Drochak <[email protected]>
+
+	* DSAKeyValue.cs:
+	* RSAKeyValue.cs: Work around for mcs? bug 45127.
+
 2003-06-11  Sebastien Pouliot <[email protected]>
 
 	* SignedXml.cs: Changed USE_VERSION_1_0 for NET_1_0.

+ 2 - 2
mcs/class/System.Security/System.Security.Cryptography.Xml/DSAKeyValue.cs

@@ -19,7 +19,7 @@ namespace System.Security.Cryptography.Xml {
 
 		public DSAKeyValue () 
 		{
-			dsa = DSA.Create ();
+			dsa = (DSA)DSA.Create ();
 		}
 
 		public DSAKeyValue (DSA key) 
@@ -53,4 +53,4 @@ namespace System.Security.Cryptography.Xml {
 			dsa.FromXmlString (value.InnerXml);
 		}
 	}
-}
+}

+ 2 - 2
mcs/class/System.Security/System.Security.Cryptography.Xml/RSAKeyValue.cs

@@ -18,7 +18,7 @@ namespace System.Security.Cryptography.Xml {
 
 		public RSAKeyValue () 
 		{
-			rsa = RSA.Create ();
+			rsa = (RSA)RSA.Create ();
 		}
 
 		public RSAKeyValue (RSA key) 
@@ -51,4 +51,4 @@ namespace System.Security.Cryptography.Xml {
 			rsa.FromXmlString (value.InnerXml);
 		}
 	}
-}
+}