Author: spouliot
Date: 2005-04-27 14:38:36 -0400 (Wed, 27 Apr 2005)
New Revision: 43675
Modified:
trunk/mcs/class/corlib/Test/System.Security.Cryptography/ChangeLog
trunk/mcs/class/corlib/Test/System.Security.Cryptography/DSACryptoServiceProviderTest.cs
trunk/mcs/class/corlib/Test/System.Security.Cryptography/RSACryptoServiceProviderTest.cs
Log:
2005-04-27 Sebastien Pouliot <[EMAIL PROTECTED]>
* DSACryptoServiceProviderTest.cs: Catch UnauthorizedAccessException
directly in UseMachineKeyStore (not just wrapped inside a
CryptographicException).
* RSACryptoServiceProviderTest.cs: Catch UnauthorizedAccessException
directly in UseMachineKeyStore (not just wrapped inside a
CryptographicException).
Modified: trunk/mcs/class/corlib/Test/System.Security.Cryptography/ChangeLog
===================================================================
--- trunk/mcs/class/corlib/Test/System.Security.Cryptography/ChangeLog
2005-04-27 18:26:02 UTC (rev 43674)
+++ trunk/mcs/class/corlib/Test/System.Security.Cryptography/ChangeLog
2005-04-27 18:38:36 UTC (rev 43675)
@@ -1,3 +1,12 @@
+2005-04-27 Sebastien Pouliot <[EMAIL PROTECTED]>
+
+ * DSACryptoServiceProviderTest.cs: Catch UnauthorizedAccessException
+ directly in UseMachineKeyStore (not just wrapped inside a
+ CryptographicException).
+ * RSACryptoServiceProviderTest.cs: Catch UnauthorizedAccessException
+ directly in UseMachineKeyStore (not just wrapped inside a
+ CryptographicException).
+
2005-04-25 Sebastien Pouliot <[EMAIL PROTECTED]>
* CryptoConfigTest.cs: Check that ArgumentNullException is throw in
Modified:
trunk/mcs/class/corlib/Test/System.Security.Cryptography/DSACryptoServiceProviderTest.cs
===================================================================
---
trunk/mcs/class/corlib/Test/System.Security.Cryptography/DSACryptoServiceProviderTest.cs
2005-04-27 18:26:02 UTC (rev 43674)
+++
trunk/mcs/class/corlib/Test/System.Security.Cryptography/DSACryptoServiceProviderTest.cs
2005-04-27 18:38:36 UTC (rev 43675)
@@ -885,6 +885,8 @@
if (!(ce.InnerException is UnauthorizedAccessException))
throw;
}
+ catch (UnauthorizedAccessException) {
+ }
}
#endif
Modified:
trunk/mcs/class/corlib/Test/System.Security.Cryptography/RSACryptoServiceProviderTest.cs
===================================================================
---
trunk/mcs/class/corlib/Test/System.Security.Cryptography/RSACryptoServiceProviderTest.cs
2005-04-27 18:26:02 UTC (rev 43674)
+++
trunk/mcs/class/corlib/Test/System.Security.Cryptography/RSACryptoServiceProviderTest.cs
2005-04-27 18:38:36 UTC (rev 43675)
@@ -1062,6 +1062,8 @@
if (!(ce.InnerException is UnauthorizedAccessException))
throw;
}
+ catch (UnauthorizedAccessException) {
+ }
}
#endif
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches