2005-04-26 Sebastien Pouliot <sebastien@ximian.com>
authorSebastien Pouliot <sebastien@ximian.com>
Tue, 26 Apr 2005 18:34:48 +0000 (18:34 -0000)
committerSebastien Pouliot <sebastien@ximian.com>
Tue, 26 Apr 2005 18:34:48 +0000 (18:34 -0000)
* PKCS12Test.cs: Fix a test for 2.0 (where the constructor could be
ambiguous).

svn path=/trunk/mcs/; revision=43612

mcs/class/Mono.Security/Test/Mono.Security.X509/ChangeLog
mcs/class/Mono.Security/Test/Mono.Security.X509/PKCS12Test.cs

index 1b3c5dfcce005a3b6cdcdf0d968d6a939937ffd2..e41283a019d3e4acdf3bf396d37294133f88d484 100755 (executable)
@@ -1,3 +1,8 @@
+2005-04-26  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * PKCS12Test.cs: Fix a test for 2.0 (where the constructor could be
+       ambiguous).
+
 2004-05-12  Nick Drochak <ndrochak@ieee.org>
 
        * PKCS12Test.cs: Do not exceed line length limit. 
index d8760c6c211868bb569bfa76cb315ff4da089f7f..b5e2f8a98d38671d4d1b6008e8273f5aab8495c5 100755 (executable)
@@ -2,9 +2,10 @@
 // PKCS12Test.cs - NUnit tests for PKCS12
 //
 // Author:
-//     Sebastien Pouliot (spouliot@motus.com)
+//     Sebastien Pouliot  <sebastien@ximian.com>
 //
 // (C) 2003 Motus Technologies Inc. (http://www.motus.com)
+// Copyright (C) 2005 Novell, Inc (http://www.novell.com)
 //
 
 using NUnit.Framework;
@@ -177,7 +178,7 @@ namespace MonoTests.Mono.Security.X509 {
                public void Farscape_NoPassword_Explicit () 
                {
                        // exported from MS certificate manager WITHOUT password
-                       PKCS12 p12 = new PKCS12 (farscape_nopwd_pfx, null);
+                       PKCS12 p12 = new PKCS12 (farscape_nopwd_pfx, (string)null);
                        RSA rsa = (RSA) p12.Keys [0];
                        X509Certificate x509 = p12.Certificates [0];
                        AssertEquals (rsa.ToXmlString (false), x509.RSA.ToXmlString (false));