diff options
Diffstat (limited to 'mcs/class/System/System.Security.Cryptography.X509Certificates/X509Certificate2.cs')
-rw-r--r-- | mcs/class/System/System.Security.Cryptography.X509Certificates/X509Certificate2.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mcs/class/System/System.Security.Cryptography.X509Certificates/X509Certificate2.cs b/mcs/class/System/System.Security.Cryptography.X509Certificates/X509Certificate2.cs index 6c5eac9acf0..ebc1423f3c4 100644 --- a/mcs/class/System/System.Security.Cryptography.X509Certificates/X509Certificate2.cs +++ b/mcs/class/System/System.Security.Cryptography.X509Certificates/X509Certificate2.cs @@ -558,13 +558,13 @@ namespace System.Security.Cryptography.X509Certificates { } } - [MonoTODO ("depends on incomplete X509Chain")] + [MonoTODO ("by default this depends on the incomplete X509Chain")] public bool Verify () { if (_cert == null) throw new CryptographicException (empty_error); - X509Chain chain = new X509Chain (); + X509Chain chain = (X509Chain) CryptoConfig.CreateFromName ("X509Chain"); if (!chain.Build (this)) return false; // TODO - check chain and other stuff ??? |