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:
authorGonzalo Paniagua Javier <gonzalo.mono@gmail.com>2009-07-10 19:51:23 +0400
committerGonzalo Paniagua Javier <gonzalo.mono@gmail.com>2009-07-10 19:51:23 +0400
commit3eb22393076263bd6da2d25dd986331f55cfd493 (patch)
tree6adf0f6c428b88b5d9313ea84f08b0acd751e24a /mcs/class/System/System.Security.Cryptography.X509Certificates
parent5b7067bc7c4e5999cfa7f77a17cc33a8f3fd02ce (diff)
2009-07-10 Gonzalo Paniagua Javier <gonzalo@novell.com>
* X509Chain.cs: revert my last change here since it caused 2 tests to fail. svn path=/trunk/mcs/; revision=137694
Diffstat (limited to 'mcs/class/System/System.Security.Cryptography.X509Certificates')
-rw-r--r--mcs/class/System/System.Security.Cryptography.X509Certificates/ChangeLog5
-rw-r--r--mcs/class/System/System.Security.Cryptography.X509Certificates/X509Chain.cs4
2 files changed, 7 insertions, 2 deletions
diff --git a/mcs/class/System/System.Security.Cryptography.X509Certificates/ChangeLog b/mcs/class/System/System.Security.Cryptography.X509Certificates/ChangeLog
index 873787dad4c..c2f5dd953fd 100644
--- a/mcs/class/System/System.Security.Cryptography.X509Certificates/ChangeLog
+++ b/mcs/class/System/System.Security.Cryptography.X509Certificates/ChangeLog
@@ -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:
diff --git a/mcs/class/System/System.Security.Cryptography.X509Certificates/X509Chain.cs b/mcs/class/System/System.Security.Cryptography.X509Certificates/X509Chain.cs
index 7fbe42f7bc8..a35037bccdb 100644
--- a/mcs/class/System/System.Security.Cryptography.X509Certificates/X509Chain.cs
+++ b/mcs/class/System/System.Security.Cryptography.X509Certificates/X509Chain.cs
@@ -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)