Author: spouliot
Date: 2006-07-01 10:52:03 -0400 (Sat, 01 Jul 2006)
New Revision: 62172
Modified:
trunk/mcs/class/corlib/System.Security.Cryptography/AsymmetricSignatureDeformatter.cs
trunk/mcs/class/corlib/System.Security.Cryptography/ChangeLog
Log:
2006-07-01 Sebastien Pouliot <[EMAIL PROTECTED]>
* AsymmetricSignatureDeformatter.cs: Set the hash algorithm name from
the hash instance. Fix for bug #78744 by Diego Mesa Tabares.
Modified:
trunk/mcs/class/corlib/System.Security.Cryptography/AsymmetricSignatureDeformatter.cs
===================================================================
---
trunk/mcs/class/corlib/System.Security.Cryptography/AsymmetricSignatureDeformatter.cs
2006-07-01 14:50:36 UTC (rev 62171)
+++
trunk/mcs/class/corlib/System.Security.Cryptography/AsymmetricSignatureDeformatter.cs
2006-07-01 14:52:03 UTC (rev 62172)
@@ -54,6 +54,8 @@
if (hash == null)
throw new ArgumentNullException ("hash");
+ SetHashAlgorithm (hash.ToString ());
+
return VerifySignature (hash.Hash, rgbSignature);
}
}
Modified: trunk/mcs/class/corlib/System.Security.Cryptography/ChangeLog
===================================================================
--- trunk/mcs/class/corlib/System.Security.Cryptography/ChangeLog
2006-07-01 14:50:36 UTC (rev 62171)
+++ trunk/mcs/class/corlib/System.Security.Cryptography/ChangeLog
2006-07-01 14:52:03 UTC (rev 62172)
@@ -1,3 +1,8 @@
+2006-07-01 Sebastien Pouliot <[EMAIL PROTECTED]>
+
+ * AsymmetricSignatureDeformatter.cs: Set the hash algorithm name from
+ the hash instance. Fix for bug #78744 by Diego Mesa Tabares.
+
2006-06-15 Sebastien Pouliot <[EMAIL PROTECTED]>
* HashAlgorithm.cs: Changed the order of BlockCopy + HashCore to
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches