Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'mcs/class/Mono.Security/Test/Mono.Security.X509/PKCS12Test.cs')
-rw-r--r--mcs/class/Mono.Security/Test/Mono.Security.X509/PKCS12Test.cs14
1 files changed, 2 insertions, 12 deletions
diff --git a/mcs/class/Mono.Security/Test/Mono.Security.X509/PKCS12Test.cs b/mcs/class/Mono.Security/Test/Mono.Security.X509/PKCS12Test.cs
index 4a52e4d3fa5..1e830d3534b 100644
--- a/mcs/class/Mono.Security/Test/Mono.Security.X509/PKCS12Test.cs
+++ b/mcs/class/Mono.Security/Test/Mono.Security.X509/PKCS12Test.cs
@@ -5,7 +5,7 @@
// Sebastien Pouliot <sebastien@ximian.com>
//
// (C) 2003 Motus Technologies Inc. (http://www.motus.com)
-// Copyright (C) 2005,2006 Novell, Inc (http://www.novell.com)
+// Copyright (C) 2005 Novell, Inc (http://www.novell.com)
//
using NUnit.Framework;
@@ -181,7 +181,7 @@ namespace MonoTests.Mono.Security.X509 {
}
[Test]
- public void Farscape_NoPassword_Explicit_Null ()
+ public void Farscape_NoPassword_Explicit ()
{
// exported from MS certificate manager WITHOUT password
PKCS12 p12 = new PKCS12 (farscape_nopwd_pfx, (string)null);
@@ -191,16 +191,6 @@ namespace MonoTests.Mono.Security.X509 {
}
[Test]
- public void Farscape_NoPassword_Explicit_Empty ()
- {
- // exported from MS certificate manager WITHOUT password
- PKCS12 p12 = new PKCS12 (farscape_nopwd_pfx, String.Empty);
- RSA rsa = (RSA) p12.Keys [0];
- X509Certificate x509 = p12.Certificates [0];
- AssertEquals (rsa.ToXmlString (false), x509.RSA.ToXmlString (false));
- }
-
- [Test]
public void Farscape_Weak ()
{
// exported from MS certificate manager WITHOUT strong encryption