2009-07-10 Gonzalo Paniagua Javier <gonzalo@novell.com>
authorGonzalo Paniagua Javier <gonzalo.mono@gmail.com>
Fri, 10 Jul 2009 15:51:23 +0000 (15:51 -0000)
committerGonzalo Paniagua Javier <gonzalo.mono@gmail.com>
Fri, 10 Jul 2009 15:51:23 +0000 (15:51 -0000)
* X509Chain.cs: revert my last change here since it caused 2 tests to
fail.

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

mcs/class/System/System.Security.Cryptography.X509Certificates/ChangeLog
mcs/class/System/System.Security.Cryptography.X509Certificates/X509Chain.cs

index 873787dad4c6d07b3dbef4a70049177ac84acc19..c2f5dd953fd7b72632731607ee8bccf119d3684d 100644 (file)
@@ -1,3 +1,8 @@
+2009-07-10 Gonzalo Paniagua Javier <gonzalo@novell.com>
+
+       * X509Chain.cs: revert my last change here since it caused 2 tests to
+       fail.
+
 2009-07-02 Gonzalo Paniagua Javier <gonzalo@novell.com>
 
        * X509Certificate2.cs:
index 7fbe42f7bc819efc1a0f8470e572d188462296a3..a35037bccdb749e022ff5594beac585c1ff60032 100644 (file)
@@ -353,8 +353,8 @@ namespace System.Security.Cryptography.X509Certificates {
                private bool IsChainComplete (X509Certificate2 certificate)
                {
                        // the chain is complete if we have a self-signed certificate
-                       if (IsSelfIssued (certificate))
-                               return true;
+                       if (!IsSelfIssued (certificate))
+                               return false;
 
                        // we're very limited to what we can do without certificate extensions
                        if (certificate.Version < 3)